Commit f26f90fa23e738be3022850449645b7535925162
1 parent
8a61b9fe
使用vue-cli默认source-map
Showing
2 changed files
with
1 additions
and
7 deletions
ruoyi-ui/src/assets/styles/element-variables.scss
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 | ... | ... |