diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 27ef7add..1ce999de 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -93,6 +93,9 @@ var webpackConfig = merge(baseWebpackConfig, { } ]), new OfflinePlugin({ + ServiceWorker: { + events: true + }, excludes: ['**/.*', '**/*.map', '**/index.html', '**/static/oauth2/callback.html'], externals: ['/app', '/oauth2/callback'] }) diff --git a/src/components/App.vue b/src/components/App.vue index 79bd17e4..b15f1967 100644 --- a/src/components/App.vue +++ b/src/components/App.vue @@ -1,6 +1,6 @@