Repository navigation
docs: illustrate multiple outputs with the JavaScript API - #6711
Conversation
AI-authored documentation prepared and validated by an agent on behalf of lxj808624. Addresses rollup#3014.
|
@lxj808624 is attempting to deploy a commit to the rollup-js Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install lxj808624/rollup-contrib#docs/javascript-api-multiple-outputsNotice: To build the native dependencies, you need Rustup installed; the required nightly toolchain is then picked up automatically from |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Performance report
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6711 +/- ##
=======================================
Coverage 98.37% 98.37%
=======================================
Files 382 382
Lines 14374 14374
Branches 3097 3097
=======================================
Hits 14141 14141
Misses 189 189
Partials 44 44 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
This PR has been released as part of rollup@4.69.2. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
Add a concrete JavaScript API example of writing a regular and minified bundle from one build, with a link to the CLI/API distinction and guidance for multiple chunks. The existing configuration-file example remains the reference for CLI users.
The docs build, Markdown formatting and JavaScript/native-JS lint completed in a clean checkout. The example produced equivalent regular and minified outputs with the installed Rollup and Terser plugin. The full lint command could not complete its unrelated Rust portion because Cargo is not installed in the test environment. No production code changed.
generated with AI