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
Esbuild is a pure-Go JS bundler with syntax lowering features.
One of the features of Algernon is JSX transformation, using goja-babel. Replacing this with Esbuild could see dramatic performance improvements.
By integrating Esbuild into Algernon, it could do on-the-fly (or cached) processing, including bundling, typescript stripping, the aforementioned JSX transforms, and lowering to ES6.
I could see general integration being achieved in a few ways:
Exposing the Esbuild API to Lua so you can call it from handler code.
Perhaps, in the matter of .lua or .tmpl, a .esbuild file extension which signals Algernon to use it as an entry point.
A local config.esbuild file which tells Algernon how to configure Esbuild for a particular directory.
The text was updated successfully, but these errors were encountered:
Esbuild is a pure-Go JS bundler with syntax lowering features.
I could see general integration being achieved in a few ways:
.lua
or.tmpl
, a.esbuild
file extension which signals Algernon to use it as an entry point.config.esbuild
file which tells Algernon how to configure Esbuild for a particular directory.The text was updated successfully, but these errors were encountered: