zengfan1992
```ts import React from "https://esm.sh/[email protected]" ``` It will load https://esm.sh/stable/[email protected]/denonext/react.mjs, but script include code 'import __Process$ from "node:process"' It should load https://esm.sh/[email protected]/es2022/react.mjs, the script has no such problem. Why https://esm.sh/[email protected] redirect to https://esm.sh/stable/[email protected]/denonext/react.mjs? PS: my solution ```ts import esbuild from "https://deno.land/x/[email protected]/mod.js" import { denoPlugins } from "jsr:@luca/[email protected]" const denoJson = await Deno.readTextFile("deno.json") const imports = JSON.parse(denoJson).imports const importMapURL = 'data:application/json,' + JSON.stringify({ imports: Object.assign({ "react": "https://esm.sh/[email protected]/es2022/react.mjs", "react-dom/client": "https://esm.sh/[email protected]/es2022/client.mjs" }, imports) }) if (Deno.args[0] === "dev") { const ctx = await esbuild.context({ plugins: [...denoPlugins({ importMapURL })], ```