Webpack: Split out unicons and bizcharts (#28374)
This commit is contained in:
1 parent
ad657dcdc3
commit
64304dafce
2 files changed
+32
-15
No files matched your search
@@ -180,6 +180,12 @@ module.exports = {
|
||||
chunks: 'all',
|
||||
minChunks: 1,
|
||||
cacheGroups: {
|
||||
unicons: {
|
||||
test: /[\\/]node_modules[\\/]@iconscout[\\/]react-unicons[\\/].*[jt]sx?$/,
|
||||
chunks: 'initial',
|
||||
priority: 20,
|
||||
enforce: true,
|
||||
},
|
||||
moment: {
|
||||
test: /[\\/]node_modules[\\/]moment[\\/].*[jt]sx?$/,
|
||||
chunks: 'initial',
|
||||
|
||||
Reference in new issue
Block a user