From d0dd838521324a80fea069eb7f97945a8d0041d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 7 Feb 2022 00:02:52 +0100 Subject: fix(compat): ESM resolver for package subpath (#13599) --- cli/compat/testdata/subpath/node_modules/foo/index.js | 0 cli/compat/testdata/subpath/node_modules/foo/package.json | 4 ++++ cli/compat/testdata/subpath/node_modules/foo/server.js | 0 3 files changed, 4 insertions(+) create mode 100644 cli/compat/testdata/subpath/node_modules/foo/index.js create mode 100644 cli/compat/testdata/subpath/node_modules/foo/package.json create mode 100644 cli/compat/testdata/subpath/node_modules/foo/server.js (limited to 'cli/compat/testdata/subpath/node_modules') 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 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 -- cgit v1.2.3