mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 11:58:42 -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");
|