forked from steveblue/angular2-rollup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathngr.config.js
50 lines (50 loc) · 1.37 KB
/
ngr.config.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
44
45
46
47
48
49
50
module.exports = {
dep: {
lib: [
'core-js/client/shim.min.js',
'core-js/client/shim.min.js.map',
'systemjs/dist/system.js',
'zone.js/dist/zone.js',
'reflect-metadata/Reflect.js',
'reflect-metadata/Reflect.js.map',
'tslib/tslib.js',
'web-animations-js/web-animations.min.js',
'@angular',
'rxjs'
],
prodLib: [
'core-js/client/shim.min.js',
'core-js/client/shim.min.js.map',
'systemjs/dist/system.js',
'zone.js/dist/zone.js',
'web-animations-js/web-animations.min.js'
],
src: './node_modules',
dist: './build/lib'
},
style: {
sass: {
dev: {
includePaths: ['src/style/'],
outputStyle: 'expanded',
sourceComments: true
},
lib: {
includePaths: ['src/style/'],
outputStyle: 'expanded',
sourceComments: false
},
prod: {
includePaths: ['src/style/'],
outputStyle: 'expanded',
sourceComments: false
}
}
},
src: 'src',
build: 'build',
dist: 'dist',
classPrefix: 'My',
componentPrefix: 'cmp',
directivePrefix: 'dir'
}