From 09e1309893712892369186d9c2319fedd9d66cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=99=8C?= Date: Sun, 29 Oct 2023 16:07:45 +0800 Subject: [PATCH] 123 --- src/views/home/index.vue | 47 +++++++++++++++++++--------------------- vue.config.js | 14 ++++++------ 2 files changed, 29 insertions(+), 32 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 674694a..647a286 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -13,35 +13,32 @@ - + diff --git a/vue.config.js b/vue.config.js index b02d9fb..f587812 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,13 +28,13 @@ module.exports = defineConfig({ // 去除生产环境中的 console 输出 minimize: true, minimizer: [ - new TerserPlugin({ - terserOptions: { - compress: { - drop_console: true - } - } - }) + new TerserPlugin({ + terserOptions: { + compress: { + drop_console: true + } + } + }) ], splitChunks: { chunks: "all",