Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhutu committed Feb 28, 2016
1 parent 104edca commit 33e37ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module.exports = {
],
output: {
path: process.cwd(),
filename: 'bundle.js'
filename: 'bundle.js',
publicPath: '/'
},
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
Expand Down
1 change: 1 addition & 0 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
output: {
path: path.join(__dirname, 'dist'),
filename: '[hash:8].[name].js',
publicPath: '/'
},
plugins: [
new webpack.DefinePlugin({
Expand Down

0 comments on commit 33e37ca

Please sign in to comment.