Skip to content

Commit 5a3dbe1

Browse files
authored
chore: update commonjs loading docs (#19904)
1 parent d6e086d commit 5a3dbe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/node/polyfills/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ are stable:
8686
modules. It also sets supported globals.
8787

8888
```ts
89-
import { createRequire } from "https://deno.land/std@$STD_VERSION/node/module.ts";
89+
import { createRequire } from "node:module";
9090

9191
const require = createRequire(import.meta.url);
9292
// Loads native module polyfill.

0 commit comments

Comments
 (0)