diff options
author | sigmaSd <bedisnbiba@gmail.com> | 2023-07-22 04:48:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 05:48:06 +0200 |
commit | 5a3dbe1a62b8e81a7993359e6fb756e36781730c (patch) | |
tree | e5292d84e062063114b1d3a2d6b39545f81eba20 | |
parent | d6e086d681fd0564bbb8e62744aca0514e3bc575 (diff) |
chore: update commonjs loading docs (#19904)
-rw-r--r-- | ext/node/polyfills/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/README.md b/ext/node/polyfills/README.md index 671d78bc4..ed9aef253 100644 --- a/ext/node/polyfills/README.md +++ b/ext/node/polyfills/README.md @@ -86,7 +86,7 @@ are stable: modules. It also sets supported globals. ```ts -import { createRequire } from "https://deno.land/std@$STD_VERSION/node/module.ts"; +import { createRequire } from "node:module"; const require = createRequire(import.meta.url); // Loads native module polyfill. |