mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: update commonjs loading docs (#19904)
This commit is contained in:
parent
d6e086d681
commit
5a3dbe1a62
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue