Skip to content

Commit 910ab3f

Browse files
committed
v4.0.8 - Fix for endsWith root.tsx
1 parent 031df09 commit 910ab3f

5 files changed

Lines changed: 21 additions & 9 deletions

File tree

docs/package-lock.json

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

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"unist-util-filter": "^5.0.1",
5959
"valtio": "^1.13.0",
6060
"zod": "^3.22.4",
61-
"remix-development-tools": "^4.0.6"
61+
"remix-development-tools": "^4.0.7"
6262
},
6363
"devDependencies": {
6464
"@flydotio/dockerfile": "^0.5.0",

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "remix-development-tools",
33
"description": "Remix development tools - a set of tools for developing/debugging Remix.run apps",
44
"author": "Alem Tuzlak",
5-
"version": "4.0.7",
5+
"version": "4.0.8",
66
"license": "MIT",
77
"keywords": [
88
"remix",

src/vite/plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const remixDevTools: (args?:RemixViteConfig) => Plugin[] = (args) => {
127127

128128
return updatedCode;
129129
}
130-
if (id.endsWith("root.tsx")) {
130+
if (id.endsWith("/root.tsx")) {
131131
const [, exports] = parse(code);
132132
const exportNames = exports.map((e) => e.n);
133133
const hasLinksExport = exportNames.includes("links");

0 commit comments

Comments
 (0)