Commit f26f90fa23e738be3022850449645b7535925162

Authored by RuoYi
1 parent 8a61b9fe

使用vue-cli默认source-map

ruoyi-ui/src/assets/styles/element-variables.scss
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 /* theme color */ 6 /* theme color */
7 $--color-primary: #1890ff; 7 $--color-primary: #1890ff;
8 $--color-success: #13ce66; 8 $--color-success: #13ce66;
9 -$--color-warning: #FFBA00; 9 +$--color-warning: #ffba00;
10 $--color-danger: #ff4949; 10 $--color-danger: #ff4949;
11 // $--color-info: #1E1E1E; 11 // $--color-info: #1E1E1E;
12 12
ruoyi-ui/vue.config.js
@@ -83,12 +83,6 @@ module.exports = { @@ -83,12 +83,6 @@ module.exports = {
83 .end() 83 .end()
84 84
85 config 85 config
86 - // https://webpack.js.org/configuration/devtool/#development  
87 - .when(process.env.NODE_ENV === 'development',  
88 - config => config.devtool('cheap-source-map')  
89 - )  
90 -  
91 - config  
92 .when(process.env.NODE_ENV !== 'development', 86 .when(process.env.NODE_ENV !== 'development',
93 config => { 87 config => {
94 config 88 config