Closed treblereel closed 2 years ago
Specifically the bug is that BUNDLE in the closure compiler takes enough of a different path that other compilation levels get their output directory created automatically within closure-compiler, but bundle doesn't.
This is exacerbated by the fact that while our closure-compiler fork is capable of producing builds that can handle source maps, those sourcemaps have to be relative to the html host page's location, not the js file, so is makes more sense to override initialScriptFilename
to specify that the file should be generated in the root of the build dir, not in its own directory, so most tests of BUNDLE don't expose this bug.
It's not possible to run or build j2cl app (reactor or simple app) using BUNDLE mode.
in ADVANCED mode it works as expected.
it can be reproduced by kogito-editors-java or https://github.com/treblereel/j2cl-tests