From 6d455ac4aa3c3832e7694e58d91a33f7ca74ee00 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Mon, 9 Dec 2024 06:46:14 -0800 Subject: [PATCH] use /client for react-dom (#1872) --- src/npm.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/npm.ts b/src/npm.ts index 7005e628a..ad6dc33bb 100644 --- a/src/npm.ts +++ b/src/npm.ts @@ -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});