Compare commits
2 commits
7c308deb62
...
444c64b55c
Author | SHA1 | Date | |
---|---|---|---|
444c64b55c | |||
52edee7ab6 |
3 changed files with 2234 additions and 14 deletions
|
@ -25,7 +25,8 @@
|
||||||
"svelte-check": "^3.4.6",
|
"svelte-check": "^3.4.6",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
"vite": "^4.4.4"
|
"vite": "^4.4.4",
|
||||||
|
"vite-plugin-pwa": "^0.16.4"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
import { sveltekit } from "@sveltejs/kit/vite";
|
import { sveltekit } from "@sveltejs/kit/vite";
|
||||||
import adapter from "@sveltejs/adapter-node";
|
import adapter from "@sveltejs/adapter-node";
|
||||||
|
import { VitePWA } from 'vite-plugin-pwa';
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
plugins: [sveltekit()],
|
plugins: [sveltekit(), VitePWA({ registerType: 'autoUpdate' })],
|
||||||
test: {
|
test: {
|
||||||
include: ["src/**/*.{test,spec}.{js,ts}"],
|
include: ["src/**/*.{test,spec}.{js,ts}"],
|
||||||
},
|
},
|
||||||
|
|
2242
frontend/yarn.lock
2242
frontend/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue