summaryrefslogtreecommitdiff
path: root/tests/testdata/npm/translate_cjs_to_esm/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/npm/translate_cjs_to_esm/main.js')
-rw-r--r--tests/testdata/npm/translate_cjs_to_esm/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/npm/translate_cjs_to_esm/main.js b/tests/testdata/npm/translate_cjs_to_esm/main.js
new file mode 100644
index 000000000..04a86fbf1
--- /dev/null
+++ b/tests/testdata/npm/translate_cjs_to_esm/main.js
@@ -0,0 +1,6 @@
+import fsx from "npm:fs-extra@10.1.0";
+import { createApp } from "npm:vue";
+import "npm:@denotest/cjs-with-file-stem";
+
+console.log(fsx.access);
+console.log(createApp);