We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35dbed2 commit 8f41022Copy full SHA for 8f41022
doc/api/esm.md
@@ -891,11 +891,10 @@ purposes.
891
892
```js
893
// coffeescript-loader.mjs
894
-import { readFile } from 'fs/promises';
895
-import { dirname, extname, resolve as resolvePath } from 'path';
896
-import { cwd } from 'process';
897
-import { fileURLToPath, pathToFileURL } from 'url';
898
-
+import { readFile } from 'node:fs/promises';
+import { dirname, extname, resolve as resolvePath } from 'node:path';
+import { cwd } from 'node:process';
+import { fileURLToPath, pathToFileURL } from 'node:url';
899
import CoffeeScript from 'coffeescript';
900
901
const baseURL = pathToFileURL(`${cwd()}/`).href;
0 commit comments