mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -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
2 lines
85 B
TypeScript
2 lines
85 B
TypeScript
import * as ns from "npm:@denotest/cjs-require-esm/require_mjs.js";
|
|
console.log(ns);
|