-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
extend more hooks to include import attributes and add warnings #5700
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
base: master
Are you sure you want to change the base?
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#feat/different-import-attributesNotice: Ensure you have installed the latest nightly Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5700 +/- ##
=======================================
Coverage 98.79% 98.79%
=======================================
Files 271 271
Lines 10601 10609 +8
Branches 2830 2835 +5
=======================================
+ Hits 10473 10481 +8
Misses 88 88
Partials 40 40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
In |
|
Yeah, I think it can be included in the |
lukastaegert
left a comment
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.
Looking through the code besides adding importerAttributes to ResolveIdHook, the only thing missing to release this from my side is to adapt the types on the website.
Yeah, I’ll update the website after adding |
62cb213 to
f026169
Compare
bc9900b to
1652147
Compare
1652147 to
8e51d95
Compare
8e51d95 to
196d1e1
Compare
|
Is there anything holding this back? |
5369863 to
96b5453
Compare
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
#5694
Description
Add the missing import attributes for the hooks
load,transformandrenderDynamicImport. For the upcoming breaking changes for complete resolving #5694, add a warning when returning attributes fromloadortransformwithstrictDeprecationsenabled.cc @sapphi-red , It would be appreciated to get your feedback on whether the API extensions are satisfactory for you.