From 5356aa919e1b262f7b511ee4c05345e3befdf774 Mon Sep 17 00:00:00 2001 From: yuanyxh <15766118362@139.com> Date: Fri, 3 May 2024 00:02:47 +0800 Subject: [PATCH] feat: Debug deploy 18 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8a7be82..3f72c4e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite --mode dev", "test": "tsc && pnpm vite build --mode test", - "build": "tsc && pnpm vite build --mode prod && node ./helpers/generateSw.js", + "build": "tsc && pnpm vite build --mode prod --force && node ./helpers/generateSw.js", "lint": "eslint . --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --fix", "stylelint": "stylelint \"**/*.less\"", @@ -89,4 +89,4 @@ "vite-plugin-prerender@1.0.8": "patches/vite-plugin-prerender@1.0.8.patch" } } -} \ No newline at end of file +}