Closed userquin closed 7 months ago
Run & review this pull request in StackBlitz Codeflow.
Maybe Jack can help also! He's an active developer in the qwik community. cc @thejackshelton
Also my mates, @AmirSa12 @araqaee can share what they know.
You can check it with this link: https://stackblitz.com/fork/github/unplugin/unplugin-icons/tree/userquin/feat-add-qwik-jsx-compiler/examples/vite-qwik
Since we don't have yet the new option in jsx
TS complains in vite.config.ts
...
This PR just adds a new option to
jsx
to allow use it with Qwik, no idea if the types can be shared, the example just works.The idea is to have another "compiler" for Qwik.
PR in draft until some Qwik expert review this:
Check this SB repro with custom compiler using
@svgr/core
+@svgr/plugin-jsx
plugin (works in SB while@svgx/core
doesn't): https://stackblitz.com/edit/unplugin-unplugin-icons-p2lwmh