Created
August 6, 2015 18:21
-
-
Save AndrewRayCode/a36cb4c8907ee1c40afe 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
| entry: { | |
| app: [ | |
| 'webpack-dev-server/client?http://localhost:8080', | |
| 'webpack/hot/only-dev-server', | |
| './app/main.js' | |
| ], | |
| vendor: './app/vendor/vendor.js', | |
| editor: './app/vendor/editor.js' | |
| }, | |
| ... | |
| plugins: [ | |
| new webpack.optimize.CommonsChunkPlugin({ | |
| name: [ 'vendor', 'editor' ], | |
| filename: '[name].js', | |
| minChunks: Infinity | |
| }), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment