summaryrefslogtreecommitdiff
path: root/cli/compat/testdata/not_esm/node_modules
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-11-01 14:46:07 -0400
committerGitHub <noreply@github.com>2021-11-01 14:46:07 -0400
commitb92019a8475a16213028ab73b15be5a3f7c56e0a (patch)
tree610cebc1c4f3aeebb8c9d8dd585dc7e8e82805c4 /cli/compat/testdata/not_esm/node_modules
parent1b684d333df80ba7589e346cafb76b6952354d33 (diff)
port check_if_should_use_esm_loader to rust (#12562)
Diffstat (limited to 'cli/compat/testdata/not_esm/node_modules')
-rw-r--r--cli/compat/testdata/not_esm/node_modules/foo/index.js0
-rw-r--r--cli/compat/testdata/not_esm/node_modules/foo/package.json5
2 files changed, 5 insertions, 0 deletions
diff --git a/cli/compat/testdata/not_esm/node_modules/foo/index.js b/cli/compat/testdata/not_esm/node_modules/foo/index.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/cli/compat/testdata/not_esm/node_modules/foo/index.js
diff --git a/cli/compat/testdata/not_esm/node_modules/foo/package.json b/cli/compat/testdata/not_esm/node_modules/foo/package.json
new file mode 100644
index 000000000..a74d52fd3
--- /dev/null
+++ b/cli/compat/testdata/not_esm/node_modules/foo/package.json
@@ -0,0 +1,5 @@
+{
+ "name": "foo",
+ "type": "module",
+ "exports": "./index.js"
+}