From f26f90fa23e738be3022850449645b7535925162 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 30 May 2020 15:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8vue-cli=E9=BB=98=E8=AE=A4sour?= =?UTF-8?q?ce-map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/assets/styles/element-variables.scss | 2 +- ruoyi-ui/vue.config.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ruoyi-ui/src/assets/styles/element-variables.scss b/ruoyi-ui/src/assets/styles/element-variables.scss index bc7697eff8..039d1e4803 100644 --- a/ruoyi-ui/src/assets/styles/element-variables.scss +++ b/ruoyi-ui/src/assets/styles/element-variables.scss @@ -6,7 +6,7 @@ /* theme color */ $--color-primary: #1890ff; $--color-success: #13ce66; -$--color-warning: #FFBA00; +$--color-warning: #ffba00; $--color-danger: #ff4949; // $--color-info: #1E1E1E; diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 5dce8d6944..963a823838 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -82,12 +82,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 => {