From 9431a62fd726956025eba0e55943ce05eb6e3635 Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 13 Aug 2018 12:51:06 +0800 Subject: [PATCH] fix devtool --- config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index ca7c005d..1fca1234 100644 --- a/config/index.js +++ b/config/index.js @@ -36,7 +36,7 @@ module.exports = { */ // https://webpack.js.org/configuration/devtool/#development - devtool: '#cheap-source-map', + devtool: 'cheap-source-map', // If you have problems debugging vue-files in devtools, // set this to false - it *may* help @@ -73,7 +73,7 @@ module.exports = { */ productionSourceMap: false, // https://webpack.js.org/configuration/devtool/#production - devtool: '#source-map', + devtool: 'source-map', // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you.