From 8d9fe9605e280dcab7f52793175a2269b9c62f0a Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Tue, 23 Feb 2016 14:58:39 +0100 Subject: [PATCH] remove app.cache obsolete feature --- app/main.js | 4 +++- index.html | 2 +- webpack.config.js | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/main.js b/app/main.js index 58bf81f..421a127 100644 --- a/app/main.js +++ b/app/main.js @@ -10,4 +10,6 @@ require('./locales.js'); require('./router.js'); var Resource = require('vue-resource'); -Vue.use(Resource); \ No newline at end of file +Vue.use(Resource); + +require('offline-plugin/runtime').install(); \ No newline at end of file diff --git a/index.html b/index.html index f1095c5..6d0c879 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + LessPass diff --git a/webpack.config.js b/webpack.config.js index a8706da..a57988c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,9 +42,8 @@ if (process.env.NODE_ENV === 'production') { caches: 'all', scope: '/dist/', updateStrategy: 'all', - version: 'v1', ServiceWorker: { output: 'sw.js'}, - AppCache: {directory: 'appcache/'} + AppCache: false }) ]) } \ No newline at end of file