Skip to content

Commit 19919e5

Browse files
committedJun 12, 2018
Fix publicPath for dev build
1 parent 0e04686 commit 19919e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function makeWebpackConfig() {
4545

4646
// Output path from the view of the page
4747
// Uses webpack-dev-server in development
48-
publicPath: isProd ? '/' : 'http://0.0.0.0:8080/',
48+
publicPath: '/',
4949

5050
// Filename for entry points
5151
// Only adds hash in build mode

0 commit comments

Comments
 (0)
Please sign in to comment.