Created
September 5, 2015 19:33
-
-
Save dtothefp/35a5233ac186c5cd8dc9 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
export default { | |
entry: { | |
'bundle-with-hbs': './src/index.js', | |
'no-hbs': './src/a.js', | |
'with-hbs': './src/b.js' | |
}, | |
output: { | |
filename: '[name].js', | |
path: `${__dirname}/dist` | |
}, | |
module: { | |
loaders: [ { test: /\.hbs$/, loader: 'handlebars-loader' } ] | |
}, | |
plugins: [ | |
new CommonsChunkPlugin( | |
{ name: 'commons', filename: 'commons.js', minChunks: 0 } | |
) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment