Skip to content

Commit 255f4f5

Browse files
committed
Use vite 6 compatible vitest 3.0.0-beta.1 and fix .json import
1 parent f55562d commit 255f4f5

File tree

3 files changed

+62
-334
lines changed

3 files changed

+62
-334
lines changed

packages/svelte-ux/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"typescript": "^5.7.2",
5050
"unist-util-visit": "^5.0.0",
5151
"vite": "^6.0.3",
52-
"vitest": "^2.1.8"
52+
"vitest": "^3.0.0-beta.1"
5353
},
5454
"type": "module",
5555
"dependencies": {

packages/svelte-ux/src/routes/+layout.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { redirect } from '@sveltejs/kit';
22

33
import { env } from '$env/dynamic/private';
44

5-
import themes from '../../themes.json';
5+
import themes from '../../themes.json' with { type: 'json' };
66
import { getThemeNames } from '$lib/styles/theme.js';
77

88
export async function load({ url }) {

0 commit comments

Comments
 (0)