|
@@ -22,25 +22,25 @@ module.exports = yo() |
|
@@ -22,25 +22,25 @@ module.exports = yo() |
22
|
commons: {
|
22
|
commons: {
|
23
|
chunks: 'all',
|
23
|
chunks: 'all',
|
24
|
name: 'vendors',
|
24
|
name: 'vendors',
|
25
|
- test: /node_modules[\\/](yoho-jquery[$\/]|core-js|yoho-cookie|yoho-qs|babel-runtime|yoho-jquery-lazyload)/, //eslint-disable-line
|
25
|
+ test: /node_modules\/(yoho-jquery[$\/]|core-js|yoho-cookie|yoho-qs|babel-runtime|yoho-jquery-lazyload)/, //eslint-disable-line
|
26
|
},
|
26
|
},
|
27
|
vue: {
|
27
|
vue: {
|
28
|
priority: 1,
|
28
|
priority: 1,
|
29
|
chunks: 'all',
|
29
|
chunks: 'all',
|
30
|
name: 'vue',
|
30
|
name: 'vue',
|
31
|
- test: /node_modules[\\/]vue/,
|
31
|
+ test: /node_modules\/vue/,
|
32
|
},
|
32
|
},
|
33
|
eachart: {
|
33
|
eachart: {
|
34
|
priority: 1,
|
34
|
priority: 1,
|
35
|
chunks: 'all',
|
35
|
chunks: 'all',
|
36
|
name: 'eachart',
|
36
|
name: 'eachart',
|
37
|
- test: /node_modules[\\/](echart|zrender)/,
|
37
|
+ test: /node_modules\/(echart|zrender)/,
|
38
|
},
|
38
|
},
|
39
|
swiper: {
|
39
|
swiper: {
|
40
|
priority: 1,
|
40
|
priority: 1,
|
41
|
chunks: 'all',
|
41
|
chunks: 'all',
|
42
|
name: 'swiper',
|
42
|
name: 'swiper',
|
43
|
- test: /node_modules[\\/](yoho-swiper)/,
|
43
|
+ test: /node_modules\/(yoho-swiper)/,
|
44
|
}
|
44
|
}
|
45
|
}
|
45
|
}
|
46
|
}
|
46
|
}
|