Hi all,
i've recently discovered the excellent JSweet technology
(
http://www.jsweet.org/) and I would like to think (and maybe implement)
an integration between that transpiler and wisdom.
AFAIK, this transpiler requires its source java code to be put in a
separate source folder (something like src/main/resources/assets/jsweet).
This source folder could be watched by wisdom for changes, which would
in turn trigger the execution of the jsweet maven plugin. which would
put generated javascript code and source maps into the javascript target
folder (which is ..target/classes/assets/javascript). Then the classical
automatic redeploy should take place, and the modified javascript would
be available.
Well, there is another issue to handle : it seems JSweet uses packaged
javascript dependencies in a way that may not be compatible with our
usage of webjars :
http://repository.jsweet.org/artifactory/libs-release-local/org/jsweet/candies/
... How will I handle that ? no idea for now
What do you think ? is it compatible with wisdom concepts ?