diff options
Diffstat (limited to 'cli/compat/testdata')
4 files changed, 6 insertions, 0 deletions
diff --git a/cli/compat/testdata/subpath/main.js b/cli/compat/testdata/subpath/main.js new file mode 100644 index 000000000..ed1fe019e --- /dev/null +++ b/cli/compat/testdata/subpath/main.js @@ -0,0 +1,2 @@ +import "foo"; +import "foo/server.js"; 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 |