From 1114e5aea7b13484e3796f3cb698ac3b093dd380 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 4 Jun 2020 16:23:17 +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 bc7697e..039d1e4 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 5dce8d6..963a823 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -83,12 +83,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 => { config