Skip to content

Commit

Permalink
add minify: true on SWPrecachePlugin (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriiwonderful committed Jun 5, 2017
1 parent 81de66a commit f4c91c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit f4c91c3

Please sign in to comment.