DenoDDeno
Powered by
jhswareJ
Denoβ€’2y agoβ€’
3 replies
jhsware

How to configure Deno to use an SWC-Plugin to transpile TSX?

I want to use the swc-inferno-plugin to transpile TSX.

An example of the configuration using webpack with a .swcrc-file can be found here: https://github.com/infernojs/inferno-swc-example

The plugin performs several optimisations during transpilations so just switching the import source etc. won't help.

Is there some way to configure Deno to use SWC-plugins for TSX-files?
GitHub
GitHub - infernojs/inferno-swc-example
Contribute to infernojs/inferno-swc-example development by creating an account on GitHub.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Can I use deno_ast to transpile arbitrary typescript?
circuitsaculCcircuitsacul / help
3y ago
@deno/emit's transpile with JSR
Kodjo.aiKKodjo.ai / help
2y ago
How to transpile typescript to javascript?
jsoldiJjsoldi / help
2y ago
[Solved] How to use precompile TSX transform
dectorDdector / help
2y ago