Currently Modular detects the entry class by looking for SomeClass.main() which is expected to be the last expression of the generated body - this isn't generated when building without main entry point, and lots of assumptions in the code are made that this is the case.
Processing still somehow works when the main class is called Main (default in the code), but things like sourcemaps processing fails.
Currently Modular detects the entry class by looking for
SomeClass.main()
which is expected to be the last expression of the generated body - this isn't generated when building without main entry point, and lots of assumptions in the code are made that this is the case.Processing still somehow works when the main class is called
Main
(default in the code), but things like sourcemaps processing fails.