wujingjing
2025-02-24 d3efce76cd9698b364e1db3e17aec2f7ee36d0d9
vite.config.ts
@@ -22,10 +22,7 @@
   const env = loadEnv(mode.mode, process.cwd());
   return {
      plugins: [
         CodeInspectorPlugin({
            bundler: 'vite',
            hotKeys: ['shiftKey'],
         }),
         vue(),
         vueSetupExtend(),
         viteCommonjs(),
@@ -33,6 +30,10 @@
         viteCompression({
            threshold: 1024000,
         }),
         // CodeInspectorPlugin({
         //    bundler: 'vite',
         //    hotKeys: ['shiftKey'],
         // }),
      ],
      root: process.cwd(),
      resolve: { alias },