-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.entries.js
43 lines (41 loc) · 912 Bytes
/
app.entries.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
38
39
40
41
42
43
function defaultOption (obj) {
return Object.assign({
src: [
"app.config.js",
'app.url.js',
"%app/main.js",
"%app/app.js",
"apps/_common/**/module.js",
"%app/**/module.js",
"apps/_common/**/!(module)*.js",
"%app/**/!(module)*.js"
],
tpl: ["apps/_common/**/*.tpl.html", "%app/**/*.tpl.html"],
bundles: [
"vendor",
{
chunk: "vendor.ui",
output: "build",
lazy: true
}
],
polyfill: [
"node_modules/babel-polyfill/dist/polyfill.min.js"
// 'node_modules/json3/lib/json3.min.js',
// 'node_modules/es5-shim/es5-shim.min.js'
]
}, obj);
}
module.exports = {
'enterprise-bi': defaultOption(
{
index: '%app/index.html',
copy: [
{
src: 'apps/enterprise-bi/_data/files/**',
base: 'apps/enterprise-bi/_data'
}
]
}
)
};