1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli/tests/testdata/run/node_builtin_modules/mod.js
Bartek Iwańczuk 1d00bbe47e
fix: loading built-in Node modules embedded in the binary (#17777)
Fixes bug introduced in ed3a7ce2f7 that
caused errors when loading built-in Node modules, when using "deno_graph".
2023-02-14 16:48:27 +01:00

4 lines
139 B
JavaScript

import { createRequire } from "node:module";
console.log(createRequire);
import process from "node:process";
console.log(process.version);