-
Notifications
You must be signed in to change notification settings - Fork 124
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
SWC Plugin? #10
Comments
Cool I haven't seen that yet. The plugins look similar but not the same. Different syntax and path following organization. Seems like it could be possible, mind you it would also take some doing as I built the babel plugin only ever assuming babel as a target so it isn't setup to just pickup and move. Or serve multiple parsers. Definitely consideration when I rewrite and generalize things. |
Yeah it would be awesome to implement transformer for ts-loader. I found that loader for babel can be rewritten for ts-loader, as there are many similar things. |
As swc now released their wasm plugin api this would be interesting. As far as I read discussions on solidjs this would enable solid on deno. Not really capable of writing a plugin just wanted to bring up the discussion again.😄 cheers |
Linking https://github.com/modderme123/swc-plugin-jsx-dom-expressions as an initial implementation of the client/dom transform (still super WIP, contributions are welcome) |
SWC is an alternative to Babel that boasts having much better performance, so it would be nice to see an SWC equivalent to
babel-plugin-jsx-dom-expressions
(and alsobabel-preset-solid
, though that's technically not relevant here 😄) in order to speed up the development cycle. However, I haven't looked into the similarities/differences between the two plugin APIs, so I'm not sure how much of a project this would be.The text was updated successfully, but these errors were encountered: