From 2dd56af8aaa5b421ff3426d3cf754ffb31ca7265 Mon Sep 17 00:00:00 2001 From: lin-xin <2981207131@qq.com> Date: Wed, 1 Mar 2017 20:34:03 +0800 Subject: [PATCH] Modify config file --- config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index edf531f..cb8a21b 100644 --- a/config/index.js +++ b/config/index.js @@ -7,8 +7,8 @@ module.exports = { index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', - assetsPublicPath: '/', - productionSourceMap: true, + assetsPublicPath: './', + productionSourceMap: false, // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you. // Before setting to `true`, make sure to: