Commit b650b2d5 authored by Ben Gubler's avatar Ben Gubler

fix: remove redundant POSIX normalize

parent fdf1762c
......@@ -62,13 +62,8 @@ export async function writeAppTypeDeclarations({
'types/routes.d.ts'
)
// Ensure the path is POSIX-compliant for imports.
const routeTypesPathPosix = routeTypesPath
.split(path.sep)
.join(path.posix.sep)
// Use ESM import instead of triple-slash reference for better ESLint compatibility
directives.push(`import "./${routeTypesPathPosix}";`)
directives.push(`import "./${routeTypesPath}";`)
// Push the notice in.
directives.push(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment