Skip to content

Commit

Permalink
chore: update commonjs loading docs (#19904)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd authored and mmastrac committed Jul 26, 2023
1 parent b0695ae commit cc30517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/node/polyfills/README.md
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 cc30517

Please sign in to comment.