-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: improve error for manualChunks' modules that are resolved as an external module #5050
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #5050 +/- ##
=======================================
Coverage 98.96% 98.97%
=======================================
Files 226 226
Lines 8348 8357 +9
Branches 2290 2293 +3
=======================================
+ Hits 8262 8271 +9
Misses 31 31
Partials 55 55
|
test/function/samples/manual-chunks-include-external-modules3/_config.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just two minor stylistic issues I found, otherwise the code looks fine!
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
This PR has been released as part of rollup@3.26.2. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
resolves #4633
Description
extend
loadEntryModule
andaddAdditionalModules
functions to know if it is a load for the manualChunks' module, then we can throw a correct error based on flagisLoadForManualChunks
.