Skip to content

Commit

Permalink
Use vite 6 compatible vitest 3.0.0-beta.1 and fix .json import
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Dec 18, 2024
1 parent f55562d commit 255f4f5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 334 deletions.
2 changes: 1 addition & 1 deletion packages/svelte-ux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"typescript": "^5.7.2",
"unist-util-visit": "^5.0.0",
"vite": "^6.0.3",
"vitest": "^2.1.8"
"vitest": "^3.0.0-beta.1"
},
"type": "module",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-ux/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { redirect } from '@sveltejs/kit';

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

import themes from '../../themes.json';
import themes from '../../themes.json' with { type: 'json' };
import { getThemeNames } from '$lib/styles/theme.js';

export async function load({ url }) {
Expand Down
Loading

0 comments on commit 255f4f5

Please sign in to comment.