We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3165eb9 commit e55ab89Copy full SHA for e55ab89
doc/api/esm.md
@@ -892,11 +892,10 @@ purposes.
892
893
```js
894
// coffeescript-loader.mjs
895
-import { readFile } from 'fs/promises';
896
-import { dirname, extname, resolve as resolvePath } from 'path';
897
-import { cwd } from 'process';
898
-import { fileURLToPath, pathToFileURL } from 'url';
899
-
+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';
900
import CoffeeScript from 'coffeescript';
901
902
const baseURL = pathToFileURL(`${cwd()}/`).href;
0 commit comments