cowboydC
Deno3y ago
cowboyd

Custom JSX transform from local module

Is it possible to define a JSX transform within the same codebase? All of the examples show referencing it from a remote module like
https:/esm.sh/preact


I've tried this, but it is unable to load my local
jsx-runtime
module because it doesn't recognize it as bing JS or TS.

https://github.com/cowboyd/deno-jsx

I've considered using an import map, but I'd like to see if it can be done without one if possible.
GitHub
Experiment with a custom JSX transform in Deno. Contribute to cowboyd/deno-jsx development by creating an account on GitHub.
Was this page helpful?