Fix: use relative path in prod build

This commit is contained in:
Dreamacro 2018-12-20 01:29:57 +08:00
parent 372627ddce
commit ba2ec0d77f

View File

@ -11,7 +11,6 @@ module.exports = merge(commonConfig, {
output: { output: {
filename: 'js/bundle.[hash].min.js', filename: 'js/bundle.[hash].min.js',
path: resolve(__dirname, '../../dist'), path: resolve(__dirname, '../../dist'),
publicPath: '/',
}, },
plugins: [ plugins: [
// new ManifestPlugin({ // new ManifestPlugin({