fix: this in CJS is replaced with undefined but should be exports#5244
Merged
IWANABETHATGUY merged 1 commit intomainfrom Jul 11, 2025
Merged
fix: this in CJS is replaced with undefined but should be exports#5244IWANABETHATGUY merged 1 commit intomainfrom
this in CJS is replaced with undefined but should be exports#5244IWANABETHATGUY merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for rolldown-rs canceled.
|
974623b to
114c3ab
Compare
Contributor
Benchmarks Rust |
114c3ab to
b0c0aea
Compare
this in CJS is replaced with undefined but should be module.exports
this in CJS is replaced with undefined but should be module.exportsthis in CJS is replaced with undefined but should be exports
hyf0
reviewed
Jul 10, 2025
hyf0
approved these changes
Jul 10, 2025
b0c0aea to
aa4d089
Compare
shulaoda
added a commit
that referenced
this pull request
Jul 13, 2025
## [1.0.0-beta.27] - 2025-07-13 ### 🚀 Features - rolldown: support linux-arm64-ohos (#5258) by @Brooooooklyn - napi: add `aarch64-linux-android` target (#5141) by @Boshen - rolldown: oxc v0.77.0 (#5255) by @Boshen ### 🐛 Bug Fixes - `this` in CJS is replaced with undefined but should be `exports` (#5244) by @IWANABETHATGUY - normalize path from package.json's realpath before matching sideEffects field (#5250) by @sapphi-red ### ⚡ Performance - don't wrap module if it is leaf module and side effects free when enable `strictExecutionOrder` (#5240) by @IWANABETHATGUY ### ⚙️ Miscellaneous Tasks - upgrade NAPI-RS cli to 3.0.0-alpha.93 (#5243) by @Brooooooklyn Co-authored-by: shulaoda <165626830+shulaoda@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closed #5242