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

ScalaJSModule fails to link with ESModule + fullOpt #1392

Closed
lolgab opened this issue Jul 2, 2021 · 0 comments · Fixed by #1393
Closed

ScalaJSModule fails to link with ESModule + fullOpt #1392

lolgab opened this issue Jul 2, 2021 · 0 comments · Fixed by #1393
Milestone

Comments

@lolgab
Copy link
Member

lolgab commented Jul 2, 2021

Scala.js doesn't allow using the Closure compiler together with ESModule ModuleKind.
The Sbt plugin handles this here and mill should do the same, otherwise an exception is thrown during linking.

java.lang.IllegalArgumentException: requirement failed: Cannot use module kind ESModule with the Closure Compiler
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

Successfully merging a pull request may close this issue.

2 participants