Open Inshou opened 2 years ago
I’m here for it. Sounds necessary for me
Yeah, I believe we should invest into it!
I've been following SWC since the beginning and I'm glad that they finally got plugins system delivered and documented at least something. However, even in the doc they warn us:
Therefore, we are concidering two approaches for the next SWC major version:
So I'm not sure what direction to take. If you are leaning towards any of those approaches, I'd be happy to know why and happy to discuss next steps.
This is pressing for me because: I've got a few nextjs projects in prod that would be using SWC already if not for pug.
However, I'm hesitant about any solution because: It sounds like JS support is still up-in-the-air, and babel plugins may even be usable with SWC: https://github.com/swc-project/swc/issues/2175#issuecomment-910200062
Next.js 11.1 (August 11th 2021 ) feature:
Rust-based Tooling: SWC integration to replace JS tooling (Babel and Terser).
What about new plugin?