-
Notifications
You must be signed in to change notification settings - Fork 202
/
app.build.js
executable file
·37 lines (30 loc) · 927 Bytes
/
app.build.js
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
({
appDir: "./",
baseUrl: "./",
dir: "../demo-build",
optimizeCss: "standard",
// optimize: "none",
// inlining ftw
inlineText: true,
stubModules: ['hbs', 'hbs/underscore', 'hbs/json2', 'hbs/handlebars'],
paths: {
"hbs": "../hbs",
"handlebars": "../hbs/handlebars.runtime"
// 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",
hbs : {
// default plugin settings, listing here just as a reference
templateExtension : 'hbs',
helperDirectory : "template/helpers/",
handlebarsPath: "handlebars"
},
modules: [
{
name: "main"
}
]
})