Commit b66e3bdec15587b0030bfb42cb311cc1d5fb5b0c
1 parent
e4846540
去缓存
Showing
4 changed files
with
4 additions
and
3 deletions
build/webpack.prod.conf.js
... | ... | @@ -25,8 +25,8 @@ const webpackConfig = merge(baseWebpackConfig, { |
25 | 25 | output: { |
26 | 26 | publicPath: './', |
27 | 27 | path: config.build.assetsRoot, |
28 | - filename: utils.assetsPath('js/[name].[chunkhash].'+Version+'js'), | |
29 | - chunkFilename: utils.assetsPath('js/[id].[chunkhash].'+Version+'js') | |
28 | + filename: utils.assetsPath('js/[name].[chunkhash].js'), | |
29 | + chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') | |
30 | 30 | }, |
31 | 31 | plugins: [ |
32 | 32 | // http://vuejs.github.io/vue-loader/en/workflow/production.html | ... | ... |
config/index.js
... | ... | @@ -61,7 +61,7 @@ module.exports = { |
61 | 61 | |
62 | 62 | productionSourceMap: false, |
63 | 63 | // https://webpack.js.org/configuration/devtool/#production |
64 | - devtool: '#source-map', | |
64 | + devtool: 'inline-source-map', | |
65 | 65 | |
66 | 66 | // Gzip off by default as many popular static hosts such as |
67 | 67 | // Surge or Netlify already gzip all static assets for you. | ... | ... |
dist.zip
0 → 100644
No preview for this file type
vue.config.js
0 → 100644
1 | +module.exports = {chainWebpack:config=>{ config.rule('js').include.add(/node_modules\/(dom7|swiper)\/.*/) }} | ... | ... |