From c6266ea3968a86b4032cc2544d94d7834a4d1de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Wed, 22 Apr 2020 10:31:46 +0800 Subject: [PATCH] fix: use vue-cli default source-map (#3097) cheap-module-eval-source-map --- vue.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1ec990ea..ba5be418 100644 --- a/vue.config.js +++ b/vue.config.js @@ -80,12 +80,6 @@ module.exports = { }) .end() - config - // https://webpack.js.org/configuration/devtool/#development - .when(process.env.NODE_ENV === 'development', - config => config.devtool('cheap-source-map') - ) - config .when(process.env.NODE_ENV !== 'development', config => {