-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update swc_core
to v0.100.x
#49
Conversation
Hey! Did this work for you locally? Are you still working on making CI green? |
I'm not sure how I should modify the hack using SyntaxContext, and that's why I filed this PR. |
what is the hack? 🤔 |
I meant mdxjs-rs/src/hast_util_to_swc.rs Line 43 in e077220
|
Can you help remove the hack? The |
Nevermind, I fixed it |
Nice! Does that mean you changed SWC to allow some magic number marking again? |
Instead of modifying swc back to allow magic number, I introduced |
ok, I looked into applying the same updates to |
It looks like when I pass |
Can confirm that I got Is this something that can be fixed in SWC, that EOF errors “stick” to the end again? |
I can fix it in SWC. I'll do it tomorrow |
Great, thank you! 🙏 |
**Related issue:** - wooorm/mdxjs-rs#49
@wooorm Do you have a PR for swc upgrade? I merged/published patch in swc-project/swc#9361 but I'm not sure if it's fixed. |
not seeing a release on https://crates.io/crates/swc_core/versions btw? 👀 |
PR at wooorm/markdown-rs#120 |
Released, thank you! https://github.com/wooorm/mdxjs-rs/releases/tag/0.2.6 |
Thank you! |
https://swc.rs/docs/plugin/selecting-swc-core
I found that mdxjs-rs was using a hack based on
SyntaxContext
, but it's not possible anymore and I'm not sure how should I fix it.