summaryrefslogtreecommitdiff
path: root/cli/compat/testdata/subpath
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-09-03 18:19:30 +0200
committerGitHub <noreply@github.com>2022-09-03 18:19:30 +0200
commite324151520c62c9503e5e38da66827cd7815ea14 (patch)
tree51449e9ea202b758a4ac74210b97f6c9b65d26e7 /cli/compat/testdata/subpath
parentfc4025c878a7986576f693ed3ad297212f6a99de (diff)
BREAKING(unstable): remove --compat mode (#15678)
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon.
Diffstat (limited to 'cli/compat/testdata/subpath')
-rw-r--r--cli/compat/testdata/subpath/main.js2
-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
4 files changed, 0 insertions, 6 deletions
diff --git a/cli/compat/testdata/subpath/main.js b/cli/compat/testdata/subpath/main.js
deleted file mode 100644
index ed1fe019e..000000000
--- a/cli/compat/testdata/subpath/main.js
+++ /dev/null
@@ -1,2 +0,0 @@
-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
deleted file mode 100644
index e69de29bb..000000000
--- a/cli/compat/testdata/subpath/node_modules/foo/index.js
+++ /dev/null
diff --git a/cli/compat/testdata/subpath/node_modules/foo/package.json b/cli/compat/testdata/subpath/node_modules/foo/package.json
deleted file mode 100644
index 26f2d565a..000000000
--- a/cli/compat/testdata/subpath/node_modules/foo/package.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "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
deleted file mode 100644
index e69de29bb..000000000
--- a/cli/compat/testdata/subpath/node_modules/foo/server.js
+++ /dev/null