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});