diff options
| author | 2022-01-29 23:43:10 -0800 | |
|---|---|---|
| committer | 2022-01-29 23:43:10 -0800 | |
| commit | 73449bf43373ee3a23f080e3b9ce144bc93db27c (patch) | |
| tree | 2e86c7ae15d5e3819dc0adf5b19419b0b5fe4b9a /integration/apps/bun-create-next.sh | |
| parent | 4aabccfc79ea076c6d868910bd4df375a9749c4c (diff) | |
| download | bun-73449bf43373ee3a23f080e3b9ce144bc93db27c.tar.gz bun-73449bf43373ee3a23f080e3b9ce144bc93db27c.tar.zst bun-73449bf43373ee3a23f080e3b9ce144bc93db27c.zip | |
[JS Printer] Fix CJS <> ESM interop edgecase
For code like this:
```js
module.exports = require("foo")
```
If `"foo"` is bundled, we should access it as the namespace reference from the bundle. Previously, we assumed it would be a property access.
Diffstat (limited to 'integration/apps/bun-create-next.sh')
0 files changed, 0 insertions, 0 deletions
