3 ms·
I’ve built a few utility apps at work. I absolutely love it. I hijacked your jsx support so that I had built in server-side templating without having to pull i
by christophilus 4y ago
I’ve built a few utility apps at work. I absolutely love it.
I hijacked your jsx support so that I had built in server-side templating without having to pull in any external libraries (e.g. React). The process of building my own TSX bindings was pretty trivial, but did feel like a hack (I created a React package.json entry that was a file path to my local source folder).
Is that scenario doable with less hackery?
- Jarred 4y agoYou can set “jsxImportSource” in tsconfig.json or jsconfig.json to point to a different jsx package There is also a setting in bunfig.toml but it appears we haven’t documented it yet