summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vue.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/vue.config.js b/vue.config.js
index e66d5d15..01d48b94 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -69,6 +69,11 @@ module.exports = {
.options({
name: '[name].[contenthash:8].[ext]',
});
+ config.plugins.delete('preload');
+ config.plugin('html').tap((options) => {
+ options[0].filename = 'index.[hash:8].html';
+ return options;
+ });
},
configureWebpack: (config) => {
config.plugins.push(