diff options
| author | Marvin Hagemeister <hello@marvinh.dev> | 2023-04-06 16:12:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-06 16:12:50 +0200 |
| commit | e51985ca749d80d40474489c739cf163b35843e1 (patch) | |
| tree | 8c0e7e240540a0cca52f5dde88753895d09a2363 /cli/tests/testdata/npm/require_main | |
| parent | 4cc8784f5b3a71b2a882ff359d593b4b74c9e89b (diff) | |
fix(ext/node): fix unable to resolve fraction.js (#18544)
Turns out `autoprefixer` is a better reproduction case then
`microbundle`.
Fixes #18535
Fixes #18600
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/testdata/npm/require_main')
| -rw-r--r-- | cli/tests/testdata/npm/require_main/main.js | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/require_main/main.out | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/require_main/main.js b/cli/tests/testdata/npm/require_main/main.js new file mode 100644 index 000000000..ddecd4fdb --- /dev/null +++ b/cli/tests/testdata/npm/require_main/main.js @@ -0,0 +1,2 @@ +import fraction from "npm:autoprefixer"; +console.log(typeof fraction); diff --git a/cli/tests/testdata/npm/require_main/main.out b/cli/tests/testdata/npm/require_main/main.out new file mode 100644 index 000000000..e2dbde096 --- /dev/null +++ b/cli/tests/testdata/npm/require_main/main.out @@ -0,0 +1 @@ +function |
