diff --git a/build/webpack.client.config.js b/build/webpack.client.config.js index 53ea05a..d892e17 100644 --- a/build/webpack.client.config.js +++ b/build/webpack.client.config.js @@ -48,6 +48,7 @@ if (process.env.NODE_ENV === 'production') { new SWPrecachePlugin({ cacheId: 'vue-hn', filename: 'service-worker.js', + minify: true, dontCacheBustUrlsMatching: /./, staticFileGlobsIgnorePatterns: [/\.map$/, /\.json$/], runtimeCaching: [