diff options
author | 2022-07-15 23:08:25 -0700 | |
---|---|---|
committer | 2022-07-15 23:08:25 -0700 | |
commit | f7e9b91701d60f1f1a319acf799871c20aee007a (patch) | |
tree | 3d4db34d5b6c6c84b7d8ad9b4b80c967b2b33626 /test/bun.js/module-require.snapshot.js | |
parent | e7246837a11e94a2268a34c72d6bc87b243b0a64 (diff) | |
download | bun-f7e9b91701d60f1f1a319acf799871c20aee007a.tar.gz bun-f7e9b91701d60f1f1a319acf799871c20aee007a.tar.zst bun-f7e9b91701d60f1f1a319acf799871c20aee007a.zip |
[parser] Fix symbol collision with require
Fixes https://github.com/oven-sh/bun/issues/674
Fixes https://github.com/oven-sh/bun/issues/382
Diffstat (limited to 'test/bun.js/module-require.snapshot.js')
-rw-r--r-- | test/bun.js/module-require.snapshot.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/bun.js/module-require.snapshot.js b/test/bun.js/module-require.snapshot.js new file mode 100644 index 000000000..d0270bb4c --- /dev/null +++ b/test/bun.js/module-require.snapshot.js @@ -0,0 +1 @@ +console.log(module.require("react")); |