Skip to content

Support builds without -main #71

@elsassph

Description

@elsassph

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions