Skip to content

Commit 8095f8c

Browse files
committed
Fix missing base url option in webpack production config
1 parent 159be6a commit 8095f8c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webpack.production.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module.exports = [Object.assign({}, baseConfig, {
2424
output: {
2525
path: path.join(__dirname, 'public/build'),
2626
publicPath: '/build/',
27-
filename: '[id].[name].[hash].js'
27+
filename: '[id].[name].[hash].js',
28+
baseUrl: '<%- url %>'
2829
}
2930
}), {
3031
entry: {

0 commit comments

Comments
 (0)