Skip to content

Commit bd565ba

Browse files
committed
Merge branch 'dev' into release-next
2 parents e2bf4fc + 8a5cf09 commit bd565ba

File tree

4 files changed

+7
-75
lines changed

4 files changed

+7
-75
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": patch
3+
---
4+
5+
[REMOVE] Changeset to bump pre.4 release

packages/react-router-dev/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const entry = [
1515
"typescript/plugin.ts",
1616
];
1717

18-
const external = ["./static/refresh-utils.cjs", /^(?!\.)/];
18+
const external = ["./static/refresh-utils.cjs", /\.json$/];
1919

2020
export default defineConfig([
2121
{

packages/react-router-dev/typescript/typegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function getDirectory(ctx: Context) {
2828
export function getPath(ctx: Context, route: RouteManifestEntry): string {
2929
return Path.join(
3030
getDirectory(ctx),
31-
"app",
31+
Path.basename(ctx.appDirectory),
3232
Path.dirname(route.file),
3333
"+types." + Pathe.filename(route.file) + ".d.ts"
3434
);

pnpm-lock.yaml

Lines changed: 0 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)