New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flag to re-enable deep dynamic chunk optimization #4837
Conversation
✅ Deploy Preview for rollupjs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#deep-dynamic-chunk-optimization or load it into the REPL: |
Codecov Report
@@ Coverage Diff @@
## master #4837 +/- ##
=======================================
Coverage 98.99% 98.99%
=======================================
Files 219 219
Lines 7877 7883 +6
Branches 2181 2184 +3
=======================================
+ Hits 7798 7804 +6
Misses 26 26
Partials 53 53
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This PR has been released as part of rollup@3.14.0. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
This adds a flag
output.experimentalDeepDynamicChunkOptimization
. When set totrue
, it will allow the full dynamic import tracing algorithm to run to potentially create fewer chunks at the cost of performance.I hope to remove this feature again in a future release if I manage to make the full algorithm fast enough.