Fix missing base url option in webpack production config
This commit is contained in:
parent
159be6a7c7
commit
8095f8cc98
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ module.exports = [Object.assign({}, baseConfig, {
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, 'public/build'),
|
path: path.join(__dirname, 'public/build'),
|
||||||
publicPath: '/build/',
|
publicPath: '/build/',
|
||||||
filename: '[id].[name].[hash].js'
|
filename: '[id].[name].[hash].js',
|
||||||
|
baseUrl: '<%- url %>'
|
||||||
}
|
}
|
||||||
}), {
|
}), {
|
||||||
entry: {
|
entry: {
|
||||||
|
|
Loading…
Reference in a new issue