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 +}