Skip to content
This repository has been archived by the owner on Aug 3, 2018. It is now read-only.

Commit

Permalink
fix: fixes service worker cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin committed Aug 6, 2016
1 parent 47a2e63 commit 2eb21ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ module.exports = webpackMerge(commonConfig, {
helpers.root('config/modules/angular2-hmr-prod.js')
),

new OfflinePlugin()
new OfflinePlugin({
updateStrategy: 'all',
version: 'v2'
})

],

Expand Down

0 comments on commit 2eb21ae

Please sign in to comment.