mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
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
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@ -763,9 +763,6 @@ importers:
|
|||||||
sharp:
|
sharp:
|
||||||
specifier: ^0.33.5
|
specifier: ^0.33.5
|
||||||
version: 0.33.5
|
version: 0.33.5
|
||||||
vite-plugin-pwa:
|
|
||||||
specifier: ^0.21.1
|
|
||||||
version: 0.21.1(vite@6.0.11(@types/node@22.10.10)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.37.0)(yaml@2.7.0))(workbox-build@7.0.0(@types/babel__core@7.20.5))(workbox-window@7.3.0)
|
|
||||||
workbox-window:
|
workbox-window:
|
||||||
specifier: ^7.3.0
|
specifier: ^7.3.0
|
||||||
version: 7.3.0
|
version: 7.3.0
|
||||||
|
|||||||
@ -72,7 +72,6 @@
|
|||||||
"@vite-pwa/astro": "^0.5.0",
|
"@vite-pwa/astro": "^0.5.0",
|
||||||
"html-escaper": "^3.0.3",
|
"html-escaper": "^3.0.3",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
"vite-plugin-pwa": "^0.21.1",
|
|
||||||
"workbox-window": "^7.3.0"
|
"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 path="../.astro/types.d.ts" />
|
||||||
/// <reference types="astro/client" />
|
/// <reference types="astro/client" />
|
||||||
/// <reference types="vite-plugin-pwa/info" />
|
|
||||||
/// <reference types="vite-plugin-pwa/client" />
|
|
||||||
|
|
||||||
declare module 'date-fns';
|
declare module 'date-fns';
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
// @ts-ignore
|
||||||
import { registerSW } from 'virtual:pwa-register';
|
import { registerSW } from 'virtual:pwa-register';
|
||||||
|
|
||||||
registerSW({
|
registerSW({
|
||||||
|
|||||||
@ -5,9 +5,6 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"jsxImportSource": "react",
|
"jsxImportSource": "react",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"types": [
|
|
||||||
"vite-plugin-pwa/client"
|
|
||||||
],
|
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@components/*": ["src/components/*"],
|
"@components/*": ["src/components/*"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user