mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-27 01:20:27 +00:00
commit
df36c49fe5
@ -345,15 +345,14 @@ module.exports = (env) => {
|
||||
cacheGroups: {
|
||||
vendors: {
|
||||
test: /[\\/]node_modules[\\/]/,
|
||||
priority: -10,
|
||||
priority: 20,
|
||||
name: "vendors",
|
||||
},
|
||||
commons: {
|
||||
test: /\.js|css|hml$/,
|
||||
name: 'commons',
|
||||
priority: -20,
|
||||
priority: 10,
|
||||
minChunks: 2,
|
||||
reuseExistingChunk: true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user