Fully support arbitrary module namespace identifiers for all formats#5298
Fully support arbitrary module namespace identifiers for all formats#5298lukastaegert merged 2 commits intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#arbitrary-namespace-identifiersNotice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly. or load it into the REPL: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5298 +/- ##
=======================================
Coverage 98.82% 98.82%
=======================================
Files 232 232
Lines 8962 8968 +6
Branches 2336 2338 +2
=======================================
+ Hits 8857 8863 +6
Misses 46 46
Partials 59 59 ☔ View full report in Codecov by Sentry. |
|
This PR has been released as part of rollup@4.9.0. You can test it via |
|
Great to see this fixed, thanks! |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
output.format: es deletes "quotes" from renamed exports #5286Description
This should bring full support for arbitrary module namespace identifiers at last. While we already had partial support for some time, our parser now fully supports all variations since we switched to SWC. Unfortunately, we did not properly render these cases, though.
This PR seeks to fix all relevant scenarios: