This is a proposal for creating a new package along with lumo-cljs containing
all the un-bundled JavaScript files needed for the current lumo to work,
like:
target/bundle.min.jstarget/main.jstarget/main.js.map- all the cljs deps files + source maps in
target
The goal would be to obtain a TypeScript-like experience when developing
ClojureScript projects, where lumo would JIT transpile and evaluate on the
installed node runtime instead of using its own binary.
-
no compilation/bundle fiddling, meaning one can potentially use
node bundle.js, basically gettinglumoon Raspberry would be straightforward (see anmonteiro/lumo#374) -
we could embed
lumoin existing node applications (see anmonteiro/lumo#306) -
existing tooling that allows transpilers to hook against them would work OOTB, one existing example is
mocha- this could be achieved:mocha --compilers lumo-cljs/register --recursive ./test -
one could also use
node --inspectagainst their (JS transpiled) app. I know this is uncommon for Clojure devs but verynode-ish -
less friction when a JavaScript develop starts working in ClojureScript, basically what only
lumocan do is to become JS-friendly "for real", this has already started with the deployment of packages onnpm, but it can be further expanded.
-
a couple of weeks of work
-
two modules to deploy
-
?

What are the two modules to deploy?