Fix missing base url option in webpack production config

This commit is contained in:
Wu Cheng-Han 2016-12-13 02:26:19 +08:00
parent 159be6a7c7
commit 8095f8cc98

View file

@ -24,7 +24,8 @@ module.exports = [Object.assign({}, baseConfig, {
output: {
path: path.join(__dirname, 'public/build'),
publicPath: '/build/',
filename: '[id].[name].[hash].js'
filename: '[id].[name].[hash].js',
baseUrl: '<%- url %>'
}
}), {
entry: {