Skip to content

Commit e256003

Browse files
committed
Update biome to v2, zod to v4, all other deps as well
1 parent 557f0c7 commit e256003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/sitemap.$lang[.]xml.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import type { Route } from "./+types/sitemap.$lang[.]xml"
55
export const loader = async ({ request, params }: Route.LoaderArgs) => {
66
const domain = createDomain(request)
77

8-
// @ts-expect-error - This import exists but is not picked up by the typescript compiler because it's a remix internal
98
const { routes } = await import("virtual:react-router/server-build")
109

1110
const sitemap = await generateRemixSitemap({
1211
domain,
13-
routes,
12+
// biome-ignore lint/suspicious/noExplicitAny: The types in the library are wrong
13+
routes: routes as any,
1414
ignore: ["/resource/*"],
1515
// Transforms the url before adding it to the sitemap
1616
urlTransformer: (url) => `${url}?lng=${params.lang}`,

0 commit comments

Comments
 (0)