From 9a8fa4954114606827162abdcf770cbab755d694 Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 10 Oct 2023 11:07:13 +0800 Subject: [PATCH] fix: unable to run the clear cache --- .vscode/extensions.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 0127df89..e4b7fd43 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,6 +1,7 @@ { "recommendations": [ "christian-kohler.path-intellisense", + "vue.vscode-typescript-vue-plugin", "vscode-icons-team.vscode-icons", "davidanson.vscode-markdownlint", "stylelint.vscode-stylelint", diff --git a/package.json b/package.json index 8524e76d..84e0ace3 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts", "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test && esno ./build/script/postBuild.ts", "build:static": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode static && esno ./build/script/postBuild.ts", - "build:no-cache": "pnpm clean:cache && pnpm build", + "build:no-cache": "pnpm store prune && pnpm build", "report": "cross-env REPORT=true pnpm build", "type:check": "vue-tsc --noEmit --skipLibCheck", "preview": "pnpm build && vite preview",