Skip to content

Commit

Permalink
use /client for react-dom (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock authored Dec 9, 2024
1 parent 8efdcf4 commit 6d455ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ export async function resolveNpmImport(root: string, specifier: string): Promise
? "dist/jquery-ui.js/+esm"
: name === "deck.gl"
? "dist.min.js/+esm"
: name === "react-dom"
? "client"
: "+esm"
} = parseNpmSpecifier(specifier);
const version = await resolveNpmVersion(root, {name, range});
Expand Down

0 comments on commit 6d455ac

Please sign in to comment.