absoulute path change to relative path in prod config file

This commit is contained in:
徐顺发 2017-04-25 10:34:19 +08:00
parent e0bc934861
commit 0f8282b68b

View File

@ -7,7 +7,7 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
assetsPublicPath: './',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.