pwa because why not

This commit is contained in:
Theo Browne 2025-02-15 18:03:21 -08:00
parent 3165c3dccb
commit 34f64869c0
No known key found for this signature in database
GPG Key ID: BDDADD971F49875D
3 changed files with 3248 additions and 2 deletions

View File

@ -11,5 +11,8 @@
"devDependencies": { "devDependencies": {
"typescript": "~5.7.2", "typescript": "~5.7.2",
"vite": "^6.1.0" "vite": "^6.1.0"
},
"dependencies": {
"vite-plugin-pwa": "^0.21.1"
} }
} }

3237
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

10
vite.config.ts Normal file
View File

@ -0,0 +1,10 @@
import { defineConfig } from "vite";
import { VitePWA } from "vite-plugin-pwa";
export default defineConfig({
plugins: [
VitePWA({
registerType: "autoUpdate",
}),
],
});