summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/require_main/main.js
diff options
context:
space:
mode:
authorMarvin Hagemeister <hello@marvinh.dev>2023-04-06 16:12:50 +0200
committerGitHub <noreply@github.com>2023-04-06 16:12:50 +0200
commite51985ca749d80d40474489c739cf163b35843e1 (patch)
tree8c0e7e240540a0cca52f5dde88753895d09a2363 /cli/tests/testdata/npm/require_main/main.js
parent4cc8784f5b3a71b2a882ff359d593b4b74c9e89b (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/main.js')
-rw-r--r--cli/tests/testdata/npm/require_main/main.js2
1 files changed, 2 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);