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

Pre-compilation of the reporter in build.rs #86

Open
mpizenberg opened this issue Mar 21, 2021 · 1 comment
Open

Pre-compilation of the reporter in build.rs #86

mpizenberg opened this issue Mar 21, 2021 · 1 comment

Comments

@mpizenberg
Copy link
Owner

The elm main for the reporter doesn't need to embed any runtime parameter, it can get all that is needed from flags and ports. This means we could compile it in advance (probably with --optimize and terser too but that has to be checked) and include the compiled JS directly in the executable.

@mpizenberg
Copy link
Owner Author

That would also have the advantage of being able to remove the potential reporter dependencies that are not also in the runner dependencies from the default dependencies that are added to the elm.json for the dependency solver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant