dom-expressions
dom-expressions copied to clipboard
Compatiblity with other loaders
Hi,
I was able sometime ago to get this on my project to overcome some knockout performance issues on a specific point. Now I wanted to do some changes to use es-build to speed up the build but I found a limitation on use this with other loaders that dont play weel with babel.
There's any alternative to use this without babel?
Not currently. The compiler plugin is pretty complex and still actively being worked on. There has been some looking into SWC and Bun, but today that requires building the compiler not in JS. ESBuild doesn't have AST transform so it never can be a good option for something custom. People have made a ESBuild plugin for Solid that pulls in Babel. So that is one route, but realistically rewriting everything in a different language is not an immediate priority compared to continuing to improve the compilation.
My hope is at a certain point it can be generalized to a spec and be implementable in different languages but need to be further along for that probably.