Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support builds without -main #71

Open
elsassph opened this issue Apr 24, 2018 · 0 comments
Open

Support builds without -main #71

elsassph opened this issue Apr 24, 2018 · 0 comments

Comments

@elsassph
Copy link
Owner

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.

@elsassph elsassph changed the title Support builds without -main Support builds without -main Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant