-
-
Notifications
You must be signed in to change notification settings - Fork 476
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(biome_js_parser): support ts resolution-mode import #3462
Conversation
CodSpeed Performance ReportMerging #3462 will degrade performances by 6.18%Comparing Summary
Benchmarks breakdown
|
@fireairforce Are you still interested in the PR? |
@Conaclos i will update this later~ |
15d0bc2
to
a741521
Compare
d95fc97
to
0d01dd6
Compare
e35e118
to
4939375
Compare
4939375
to
23ae575
Compare
@@ -1,3 +1,4 @@ | |||
import() | |||
import(...["foo"]) | |||
import("foo", { assert: { type: 'json' } }, "bar") | |||
import("foo", { with: { type: 'json' } }, "bar") |
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.
This is now considered correct? We should move it to ok/import_call.js
.
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.
No, that is wrong, it seems that import_attributes
only have two params: https://github.com/tc39/proposal-import-attributes?tab=readme-ov-file#dynamic-import
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.
Maybe you can provide some reference documentation about this place?
23ae575
to
e862288
Compare
this mr is ready for review~ |
e862288
to
684abbd
Compare
684abbd
to
f56ef4f
Compare
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.
Thanks!
Summary
closes: #2115
Test Plan