Commit 6802f00290bcbe97b8063844d6f99d8e1cf21a6e
1 parent
df8f58a4
去缓存
Showing
2 changed files
with
2 additions
and
1 deletions
config/index.js
| @@ -60,7 +60,7 @@ module.exports = { | @@ -60,7 +60,7 @@ module.exports = { | ||
| 60 | 60 | ||
| 61 | productionSourceMap: false, | 61 | productionSourceMap: false, |
| 62 | // https://webpack.js.org/configuration/devtool/#production | 62 | // https://webpack.js.org/configuration/devtool/#production |
| 63 | - devtool: '#source-map', | 63 | + devtool: 'inline-source-map', |
| 64 | 64 | ||
| 65 | // Gzip off by default as many popular static hosts such as | 65 | // Gzip off by default as many popular static hosts such as |
| 66 | // Surge or Netlify already gzip all static assets for you. | 66 | // Surge or Netlify already gzip all static assets for you. |
vue.config.js
0 → 100644
| 1 | +module.exports = {chainWebpack:config=>{ config.rule('js').include.add(/node_modules\/(dom7|swiper)\/.*/) }} |