mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04: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");
|