DenoDDeno
Powered by
cowboydC
Denoβ€’3y 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
https:/esm.sh/preact


I've tried this, but it is unable to load my local
jsx-runtime
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
GitHub - cowboyd/deno-jsx: Experiment with a custom JSX transform i...
Experiment with a custom JSX transform in Deno. Contribute to cowboyd/deno-jsx development by creating an account on GitHub.
GitHub - cowboyd/deno-jsx: Experiment with a custom JSX transform i...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Importing local NodeJS module from Deno
MonotterMMonotter / help
3y ago
local npm module
DonTheDudeDDonTheDude / help
2y ago
local modules
DreDDre / help
2y ago
jsx in js
bit-by-bitBbit-by-bit / help
3y ago