mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
41 lines
707 B
Diff
41 lines
707 B
Diff
--- old.nodeModulesAllowJsPackageImports(module=node16).js
|
|
+++ new.nodeModulesAllowJsPackageImports(module=node16).js
|
|
@@= skipped -36, +36 lines =@@
|
|
}
|
|
}
|
|
|
|
+//// [index.js]
|
|
+// esm format file
|
|
+import * as cjs from "#cjs";
|
|
+import * as mjs from "#mjs";
|
|
+import * as type from "#type";
|
|
+cjs;
|
|
+mjs;
|
|
+type;
|
|
//// [index.mjs]
|
|
// esm format file
|
|
import * as cjs from "#cjs";
|
|
@@= skipped -51, +59 lines =@@
|
|
cjs;
|
|
mjs;
|
|
type;
|
|
-//// [index.js]
|
|
-// esm format file
|
|
-import * as cjs from "#cjs";
|
|
-import * as mjs from "#mjs";
|
|
-import * as type from "#type";
|
|
-cjs;
|
|
-mjs;
|
|
-type;
|
|
-
|
|
-
|
|
+
|
|
+
|
|
+//// [index.d.ts]
|
|
+export {};
|
|
//// [index.d.mts]
|
|
export {};
|
|
//// [index.d.cts]
|
|
-export {};
|
|
-//// [index.d.ts]
|
|
export {};
|