From 00c68bc5cd80953a72e833bac228d227bdb67ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E5=98=89=E6=99=A8?= Date: Thu, 4 Jun 2020 21:22:40 +0800 Subject: [PATCH] fix: use vue-cli default source-map https://github.com/PanJiaChen/vue-element-admin/commit/d4405464ceb53513bff7ec6caf07113623e95383 --- vue.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index f52964a..1d4713f 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 => {