-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(turbopack-ecmascript): use import attributes for annotations #6732
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Ignored Deployments
|
🟢 Turbopack Benchmark CI successful 🟢Thanks |
✅ This change can build |
|
Linux Benchmark for 22d3e14Click to view benchmark
|
243047d
to
da02f16
Compare
da02f16
to
bcb047d
Compare
bcb047d
to
968934c
Compare
968934c
to
61f64d2
Compare
61f64d2
to
98c813c
Compare
98c813c
to
edc69b8
Compare
edc69b8
to
96a1fee
Compare
96a1fee
to
e0a5a0a
Compare
b2bc908
to
56b6806
Compare
reference_type.into_value(), | ||
ReferenceType::EcmaScriptModules(EcmaScriptModulesReferenceSubType::ImportWithType(_)) | ||
) { | ||
options.extensions.clear(); |
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.
Is this correct for with { type: "json" }
?
for (i, rule) in options.await?.rules.iter().enumerate() { | ||
if has_type_attribute && current_module_type.is_some() { |
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.
Is this correct for with { type: "json" }
?
56b6806
to
00134d6
Compare
00134d6
to
2921008
Compare
If the |
Description
No more magic string literal 🎉
This also enables
with { type: "json }
Blocked by vercel/next.js#59494
Closes PACK-2119