-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathapp.build.js
More file actions
executable file
·44 lines (38 loc) · 1.21 KB
/
Copy pathapp.build.js
File metadata and controls
executable file
·44 lines (38 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
({
appDir: "./",
baseUrl: "./",
dir: "../demo-build",
optimizeCss: "standard",
// optimize: "none",
// inlining ftw
inlineText: true,
pragmasOnSave: {
//removes Handlebars.Parser code (used to compile template strings) set
//it to `false` if you need to parse template strings even after build
excludeHbsParser : true,
// kills the entire plugin set once it's built.
excludeHbs: true,
// removes i18n precompiler, handlebars and json2
excludeAfterBuild: true
},
paths: {
"hbs": "../hbs"
// if your project is already using underscore.js and you want to keep
// the hbs plugin even after build (excludeHbs:false) you should set the
// "hbs/underscore" path to point to the shared location like
// "hbs/underscore" : "lib/underscore" to avoid loading it twice
},
locale: "en_ca",
// default plugin settings, listing here just as a reference
hbs : {
templateExtension : 'hbs',
// if disableI18n is `true` it won't load locales and the i18n helper
// won't work as well.
disableI18n : false
},
modules: [
{
name: "main"
}
]
})