Skip to content

Commit

Permalink
Merge pull request #88 from peterszerzo/publicpath
Browse files Browse the repository at this point in the history
Add leading slash to asset urls
  • Loading branch information
halfzebra authored Jan 5, 2017
2 parents 2d219e5 + 8b775c3 commit 1d4edc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ module.exports = {
// The build folder.
path: paths.dist,

// Append leading slash when production assets are referenced in the html.
publicPath: '/',

// Generated JS files.
filename: 'js/[name].[chunkhash:8].js'
},
Expand Down

0 comments on commit 1d4edc0

Please sign in to comment.