Skip to content

Commit 02eb822

Browse files
committed
fix nitro preview
1 parent b0ffe95 commit 02eb822

File tree

1 file changed

+2
-2
lines changed
  • packages/start/src/config/fs-routes

1 file changed

+2
-2
lines changed

packages/start/src/config/fs-routes/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export function fsRoutes({ routers }: FsRoutesArgs): Array<PluginOption> {
5555
const buildId = `${v.src}?${v.pick.map((p: any) => `pick=${p}`).join("&")}`;
5656
return {
5757
src: relative(root, buildId),
58-
build: isBuild ? `_$() => import(/* @vite-ignore */ '${buildId}')$_` : undefined,
59-
import: `_$() => import(/* @vite-ignore */ '${buildId}')$_`,
58+
build: isBuild ? `_$() => import('${buildId}')$_` : undefined,
59+
import: `_$() => import('${buildId}')$_`,
6060
};
6161
}
6262
return v;

0 commit comments

Comments
 (0)