Created
September 6, 2018 14:38
-
-
Save saurabh2590/54cc3fd75dd0c29e972954983ae9a399 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
optimization: { | |
minimize: isProductionMode, | |
minimizer: [ | |
getUglifyJSplugin() | |
], | |
runtimeChunk: 'multiple', | |
splitChunks: { | |
cacheGroups: { | |
vendor: { | |
test: /[\\/]node_modules[\\/]/, | |
name: 'vendors', | |
chunks: 'all' | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment