Created
September 5, 2015 19:36
-
-
Save dtothefp/a3d5013025cee77ac601 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: { | |
| vendor: [ | |
| 'handlebars', | |
| /*more common vendors to chunk*/ | |
| ], | |
| 'bundle-with-hbs': './src/index.js', | |
| 'no-hbs': './src/a.js', | |
| 'with-hbs': './src/b.js' | |
| }, | |
| output: ....., | |
| module: ....., | |
| plugins: [ | |
| new CommonsChunkPlugin({ | |
| name: 'vendor', | |
| filename: 'commons.js', | |
| minChunks: 0 | |
| }) | |
| ], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment