Skip to content

Commit df99566

Browse files
committed
fix emitted types for @react-router/dev
1 parent cda3e9d commit df99566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
{

0 commit comments

Comments
 (0)