forked from tmeneau/ngtools-webpack-lazy-loading
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dll.includes.js
49 lines (46 loc) · 1.09 KB
/
dll.includes.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
module.exports = {
polyfills: [
/*
* Map the core-js polyfills to the format expected by the DllBundlesPlugin.
* See https://github.com/shlomiassaf/webpack-dll-bundles-plugin/issues/8#issuecomment-275200105
*/
...[
'core-js/es6/symbol',
'core-js/es6/object',
'core-js/es6/function',
'core-js/es6/parse-int',
'core-js/es6/parse-float',
'core-js/es6/number',
'core-js/es6/math',
'core-js/es6/string',
'core-js/es6/date',
'core-js/es6/array',
'core-js/es6/regexp',
'core-js/es6/map',
'core-js/es6/set',
'core-js/es6/reflect',
'core-js/es6/promise',
'core-js/client/shim',
'core-js/es7/reflect'
].map((path) => { return { name: 'core-js', path: path } }),
{
name: 'zone.js',
path: 'zone.js/dist/zone.js'
}
],
vendor: [
/**
* Angular2
*/
'@angular/platform-browser',
'@angular/platform-browser-dynamic',
'@angular/compiler',
'@angular/router',
'@angular/common',
'@angular/core',
/**
* Rxjs
*/
'rxjs'
]
}