Skip to content

Instantly share code, notes, and snippets.

@FlorianBELLAZOUZ
Created July 29, 2016 14:02
Show Gist options
  • Save FlorianBELLAZOUZ/75349cd770a985f165a3dd5b03a56d4e to your computer and use it in GitHub Desktop.
Save FlorianBELLAZOUZ/75349cd770a985f165a3dd5b03a56d4e to your computer and use it in GitHub Desktop.
Question
module.exports={
entry: {
'bundles/client.specs': __dirname+'/client/unitTest/client.specs.js',
'bundles/E2E.specs':__dirname+'/client/E2ETest/E2E.specs.js',
'bundles/main':__dirname+'/client/lib/Director.js',
'../bin/kaaashop':[__dirname+'/client/panel.js'] // <-- only this with a libraryTarget commonjs
},
output: {
path: __dirname + '/client',
filename: '[name].bundle.js',
libraryTarget: 'commonjs'
},
devtool:'source-map'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment