Files
bun.sh/src/javascript/jsc/bindings/GlobalBuiltins.js
Jarred Sumner 3c87fbfd37 [bun.js] Implement import.meta.require
This allows synchronous dynamic loading of `.node`, `.json`, and `.toml` files.

It is not a CommonJS require, but it can be used that way so long as the content is not JavaScript.
2022-05-11 00:56:35 -07:00

0 lines
0 B
JavaScript