From e324151520c62c9503e5e38da66827cd7815ea14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 3 Sep 2022 18:19:30 +0200 Subject: 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. --- cli/compat/testdata/subpath/main.js | 2 -- 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 4 files changed, 6 deletions(-) delete mode 100644 cli/compat/testdata/subpath/main.js delete mode 100644 cli/compat/testdata/subpath/node_modules/foo/index.js delete mode 100644 cli/compat/testdata/subpath/node_modules/foo/package.json delete mode 100644 cli/compat/testdata/subpath/node_modules/foo/server.js (limited to 'cli/compat/testdata/subpath') 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 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 -- cgit v1.2.3