...
|
...
|
@@ -22,25 +22,25 @@ module.exports = yo() |
|
|
commons: {
|
|
|
chunks: 'all',
|
|
|
name: 'vendors',
|
|
|
test: /node_modules[\\/](yoho-jquery[$\/]|core-js|yoho-cookie|yoho-qs|babel-runtime|yoho-jquery-lazyload)/, //eslint-disable-line
|
|
|
test: /node_modules\/(yoho-jquery[$\/]|core-js|yoho-cookie|yoho-qs|babel-runtime|yoho-jquery-lazyload)/, //eslint-disable-line
|
|
|
},
|
|
|
vue: {
|
|
|
priority: 1,
|
|
|
chunks: 'all',
|
|
|
name: 'vue',
|
|
|
test: /node_modules[\\/]vue/,
|
|
|
test: /node_modules\/vue/,
|
|
|
},
|
|
|
eachart: {
|
|
|
priority: 1,
|
|
|
chunks: 'all',
|
|
|
name: 'eachart',
|
|
|
test: /node_modules[\\/](echart|zrender)/,
|
|
|
test: /node_modules\/(echart|zrender)/,
|
|
|
},
|
|
|
swiper: {
|
|
|
priority: 1,
|
|
|
chunks: 'all',
|
|
|
name: 'swiper',
|
|
|
test: /node_modules[\\/](yoho-swiper)/,
|
|
|
test: /node_modules\/(yoho-swiper)/,
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|