Skip to content

Commit

Permalink
v4.0.8 - Fix for endsWith root.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Mar 14, 2024
1 parent 031df09 commit 910ab3f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
20 changes: 16 additions & 4 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"unist-util-filter": "^5.0.1",
"valtio": "^1.13.0",
"zod": "^3.22.4",
"remix-development-tools": "^4.0.6"
"remix-development-tools": "^4.0.7"
},
"devDependencies": {
"@flydotio/dockerfile": "^0.5.0",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "remix-development-tools",
"description": "Remix development tools - a set of tools for developing/debugging Remix.run apps",
"author": "Alem Tuzlak",
"version": "4.0.7",
"version": "4.0.8",
"license": "MIT",
"keywords": [
"remix",
Expand Down
2 changes: 1 addition & 1 deletion src/vite/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const remixDevTools: (args?:RemixViteConfig) => Plugin[] = (args) => {

return updatedCode;
}
if (id.endsWith("root.tsx")) {
if (id.endsWith("/root.tsx")) {
const [, exports] = parse(code);
const exportNames = exports.map((e) => e.n);
const hasLinksExport = exportNames.includes("links");
Expand Down

0 comments on commit 910ab3f

Please sign in to comment.