Remove lodash deps to reduce bundle size more
This commit is contained in:
parent
0403fa9517
commit
cbea4078fb
8 changed files with 36 additions and 29 deletions
|
@ -73,7 +73,10 @@ module.exports = {
|
|||
files: `${path.join(__dirname, '/resources/scripts')}/**/*.{ts,tsx}`,
|
||||
},
|
||||
}) : null,
|
||||
process.env.ANALYZE_BUNDLE ? new BundleAnalyzerPlugin() : null
|
||||
process.env.ANALYZE_BUNDLE ? new BundleAnalyzerPlugin({
|
||||
analyzerHost: '0.0.0.0',
|
||||
analyzerPort: 8081,
|
||||
}) : null
|
||||
].filter(p => p),
|
||||
optimization: {
|
||||
usedExports: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue