summaryrefslogtreecommitdiff
path: root/cli/compat/testdata/subpath/node_modules
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-02-07 00:02:52 +0100
committerGitHub <noreply@github.com>2022-02-07 00:02:52 +0100
commitd0dd838521324a80fea069eb7f97945a8d0041d3 (patch)
tree18659b2f129db83d6946461202ce90d9da4aeba2 /cli/compat/testdata/subpath/node_modules
parenta7850d7fe6c52225acd614167495d765ed2385f3 (diff)
fix(compat): ESM resolver for package subpath (#13599)
Diffstat (limited to 'cli/compat/testdata/subpath/node_modules')
-rw-r--r--cli/compat/testdata/subpath/node_modules/foo/index.js0
-rw-r--r--cli/compat/testdata/subpath/node_modules/foo/package.json4
-rw-r--r--cli/compat/testdata/subpath/node_modules/foo/server.js0
3 files changed, 4 insertions, 0 deletions
diff --git a/cli/compat/testdata/subpath/node_modules/foo/index.js b/cli/compat/testdata/subpath/node_modules/foo/index.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/cli/compat/testdata/subpath/node_modules/foo/index.js
diff --git a/cli/compat/testdata/subpath/node_modules/foo/package.json b/cli/compat/testdata/subpath/node_modules/foo/package.json
new file mode 100644
index 000000000..26f2d565a
--- /dev/null
+++ b/cli/compat/testdata/subpath/node_modules/foo/package.json
@@ -0,0 +1,4 @@
+{
+ "name": "foo",
+ "main": "index.js"
+} \ No newline at end of file
diff --git a/cli/compat/testdata/subpath/node_modules/foo/server.js b/cli/compat/testdata/subpath/node_modules/foo/server.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/cli/compat/testdata/subpath/node_modules/foo/server.js