mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -05:00
f9007d3386
implement require(esm) using `op_import_sync` from deno_core. possible future changes: - cts and mts - replace Deno.core.evalContext to optimize esm syntax detection Fixes: https://github.com/denoland/deno/issues/25487
5 lines
109 B
JavaScript
5 lines
109 B
JavaScript
"use strict";
|
|
|
|
console.log(require("./sync.js"));
|
|
console.log(require("./sync.mjs"));
|
|
require("./async.js");
|