Przeglądaj źródła

使用vue-cli默认source-map

RuoYi 5 lat temu
rodzic
commit
1114e5aea7

+ 1 - 1
ruoyi-ui/src/assets/styles/element-variables.scss

@@ -6,7 +6,7 @@
6 6
 /* theme color */
7 7
 $--color-primary: #1890ff;
8 8
 $--color-success: #13ce66;
9
-$--color-warning: #FFBA00;
9
+$--color-warning: #ffba00;
10 10
 $--color-danger: #ff4949;
11 11
 // $--color-info: #1E1E1E;
12 12
 

+ 0 - 6
ruoyi-ui/vue.config.js

@@ -83,12 +83,6 @@ module.exports = {
83 83
       .end()
84 84
 
85 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 86
       .when(process.env.NODE_ENV !== 'development',
93 87
         config => {
94 88
           config