From c5c8bb366ac6352ed7c87f7f926e7cf6cb7cc789 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 16 Dec 2020 22:41:24 +0000 Subject: [PATCH] Don't minify index.html --- vue.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vue.config.js b/vue.config.js index 4e00559..e48424b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,6 +2,11 @@ module.exports = { publicPath: '', chainWebpack: config => { + config.plugin('html') + .tap(args => { + args[0].minify = false + return args + }) config.module .rule('svg-sprite') .use('svgo-loader')