From 685d9561794856acec1b08c280900e85498492fb Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 19 一月 2025 00:35:40 +0800 Subject: [PATCH] plop --- vite.config.ts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 5b25f9d..fa15255 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,7 @@ import { defineConfig, loadEnv } from 'vite'; import viteCompression from 'vite-plugin-compression'; import vueSetupExtend from 'vite-plugin-vue-setup-extend-plus'; +import { CodeInspectorPlugin } from 'code-inspector-plugin'; const pathResolve = (dir: string) => { return resolve(__dirname, '.', dir); @@ -21,6 +22,7 @@ const env = loadEnv(mode.mode, process.cwd()); return { plugins: [ + vue(), vueSetupExtend(), viteCommonjs(), @@ -28,6 +30,10 @@ viteCompression({ threshold: 1024000, }), + // CodeInspectorPlugin({ + // bundler: 'vite', + // hotKeys: ['shiftKey'], + // }), ], root: process.cwd(), resolve: { alias }, -- Gitblit v1.9.3