From 5a3dbe1a62b8e81a7993359e6fb756e36781730c Mon Sep 17 00:00:00 2001 From: sigmaSd Date: Sat, 22 Jul 2023 04:48:06 +0100 Subject: chore: update commonjs loading docs (#19904) --- ext/node/polyfills/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node') 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. -- cgit v1.2.3