Sfoglia il codice sorgente

Merge pull request #339 from GreatAuk/Meaningless

优化工程
菲鸽 6 mesi fa
parent
commit
d5bbaa7975
2 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 1 3
      .vscode/extensions.json
  2. 1 1
      vite.config.ts

+ 1 - 3
.vscode/extensions.json

@@ -1,7 +1,6 @@
 {
   "recommendations": [
     "vue.volar",
-    "esbenp.prettier-vscode",
     "dbaeumer.vscode-eslint",
     "antfu.unocss",
     "antfu.iconify",
@@ -11,7 +10,6 @@
     "uni-helper.uni-highlight-vscode",
     "uni-helper.uni-ui-snippets-vscode",
     "uni-helper.uni-app-snippets-vscode",
-    "streetsidesoftware.code-spell-checker",
-    "christian-kohler.path-intellisense"
+    "streetsidesoftware.code-spell-checker"
   ]
 }

+ 1 - 1
vite.config.ts

@@ -188,7 +188,7 @@ export default defineConfig(({ command, mode }) => {
         : undefined,
     },
     esbuild: {
-      drop: VITE_DELETE_CONSOLE === 'true' ? ['console', 'debugger'] : ['debugger'],
+      drop: VITE_DELETE_CONSOLE === 'true' ? ['console', 'debugger'] : [],
     },
     build: {
       sourcemap: false,