Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Fix output paths in Webpack config
Browse files Browse the repository at this point in the history
This is needed to make code-splitting and async chunk loading work
  • Loading branch information
koistya committed Jun 20, 2016
1 parent f9a66f7 commit d6aaacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function startAppServer(callback) {
}
]
},
output: {filename: 'app.js', path: '/'}
output: {filename: '/app.js', path: '/', publicPath: '/js/'}
});
appServer = new WebpackDevServer(compiler, {
contentBase: '/public/',
Expand Down

0 comments on commit d6aaacf

Please sign in to comment.