Skip to content

Commit

Permalink
chore: update commonjs loading docs (denoland#19904)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Jul 22, 2023
1 parent d6e086d commit 5a3dbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/node/polyfills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a3dbe1

Please sign in to comment.