chore: remove vite-plugin-pwa dependency
- its only used for typings - it creates problems with peerDependencies - just let it die
This commit is contained in:
parent
b3e0f180b3
commit
0e59a233ed
5 changed files with 1 additions and 9 deletions
|
|
@ -72,7 +72,6 @@
|
|||
"@vite-pwa/astro": "^0.5.0",
|
||||
"html-escaper": "^3.0.3",
|
||||
"sharp": "^0.33.5",
|
||||
"vite-plugin-pwa": "^0.21.1",
|
||||
"workbox-window": "^7.3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
website/src/env.d.ts
vendored
2
website/src/env.d.ts
vendored
|
|
@ -1,6 +1,4 @@
|
|||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
/// <reference types="vite-plugin-pwa/info" />
|
||||
/// <reference types="vite-plugin-pwa/client" />
|
||||
|
||||
declare module 'date-fns';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-ignore
|
||||
import { registerSW } from 'virtual:pwa-register';
|
||||
|
||||
registerSW({
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
"skipLibCheck": true,
|
||||
"jsxImportSource": "react",
|
||||
"noImplicitAny": false,
|
||||
"types": [
|
||||
"vite-plugin-pwa/client"
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@components/*": ["src/components/*"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue