From 157bd7ca912d62fcd6e1f8d0823fec621b07634e Mon Sep 17 00:00:00 2001 From: MaysWind Date: Thu, 3 Jun 2021 00:47:47 +0800 Subject: [PATCH] exclude index.html from sw cache list --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index 4155800c..e9c3e404 100644 --- a/vue.config.js +++ b/vue.config.js @@ -121,6 +121,7 @@ module.exports = { ] }, exclude: [ + /^index\.html$/, /^mobile\.html$/, /^desktop\.html$/, /^robots\.txt$/,