You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few areas in Kotekan where I had to do things that I didn't want to do because they're not really aligned with the goals I was pursuing. I don't have better solutions for these areas right now, but still want to document them in order to maybe get back to them later:
Usage of Babel plugins
One initial goal was to use no bundle and transpilation tooling besides Bun. Both StyleX and react-refresh are on the surface implemented using a Bun plugin, but this plugins is calling Babel's transformAsync internally.
Bundling/transpiling of server code
As Bun can directly run TypeScript, I wanted to avoid bundling and transpilation wherever possible (basically only bundle/transpile what is send to the browser). As StyleX is relying on running the Babel plugin however, I have to bundle even the server code.
The text was updated successfully, but these errors were encountered:
There are a few areas in Kotekan where I had to do things that I didn't want to do because they're not really aligned with the goals I was pursuing. I don't have better solutions for these areas right now, but still want to document them in order to maybe get back to them later:
Usage of Babel plugins
One initial goal was to use no bundle and transpilation tooling besides Bun. Both StyleX and react-refresh are on the surface implemented using a Bun plugin, but this plugins is calling Babel's transformAsync internally.
Bundling/transpiling of server code
As Bun can directly run TypeScript, I wanted to avoid bundling and transpilation wherever possible (basically only bundle/transpile what is send to the browser). As StyleX is relying on running the Babel plugin however, I have to bundle even the server code.
The text was updated successfully, but these errors were encountered: