Skip to content

Commit

Permalink
set libraryTarget to 'commonjs2'
Browse files Browse the repository at this point in the history
  • Loading branch information
chentsulin committed May 31, 2015
1 parent 4e06850 commit 0269216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make-webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ module.exports = function(opts) {
path: __dirname + '/dist/',
filename: 'bundle.js',
publicPath: 'http://localhost:2992/',
contentBase: __dirname + '/public/'
contentBase: __dirname + '/public/',
libraryTarget: 'commonjs2'
}

var excludeFromStats = [
Expand Down

0 comments on commit 0269216

Please sign in to comment.