Created
February 17, 2017 02:36
-
-
Save arackaf/9056c9eee548d29ee9dcb92025ce7a32 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| plugins: [ | |
| (isProduction ? | |
| new BundleAnalyzerPlugin({ | |
| analyzerMode: 'static' | |
| }) : null), | |
| new webpack.optimize.CommonsChunkPlugin({ | |
| name: 'node-static', | |
| minChunks(module, count) { | |
| var context = module.context; | |
| return context && context.indexOf('node_modules') >= 0; | |
| }, | |
| }), | |
| // ...... | |
| ].filter(p => p), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment