Skip to content

Commit

Permalink
PWA should be build in prod mode on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Feb 22, 2024
1 parent 7cf444a commit e12364c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"remove-dev-dist": "rm -rf dev-dist",
"dev": "npm run remove-dev-dist && DEBUG=vite-plugin-pwa SW_DEV=true vite --force",
"build": "tsc && vite build",
"build": "tsc && SW=true vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"generate-pwa-assets": "pwa-assets-generator --preset minimal-2023 public/logo.svg"
Expand Down

0 comments on commit e12364c

Please sign in to comment.