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

Fix: Stop minifying in fastLinkJS #4051

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Nov 30, 2024

The alternative to this is to make scalaJSMinify an anonymous task, which is not binary compatible (we can have this change in a future major version).
Mill doesn't have fastLinkJS and fullLinkJS scopes as Sbt which makes it difficult to have specific settings for fullLinkJS only. This PR makes Mill behave like 99% of people want, which is what Sbt does by default. The downside is that it's now impossible to test what happens with minify on fastLinkJS, but the workaround is to directly test on fullLinkJS in that scenario.

Pull Request: #4051

The alternative to this is to make `scalaJSMinify` an anonymous task,
which is not binary compatible (we can have this change in a future
major version).
Mill doesn't have `fastLinkJS` and `fullLinkJS` scopes as Sbt which makes
it difficult to have specific settings for `fullLinkJS` only.
This PR makes Mill behave like 99% of people want, which is what Sbt
does by default. The downside is that it's now impossible to test
what happens with minify on `fastLinkJS``, but the workaround is to
directly test on `fullLinkJS` in that scenario.
@lihaoyi
Copy link
Member

lihaoyi commented Nov 30, 2024

Looks good to me

@lihaoyi lihaoyi merged commit f847e26 into com-lihaoyi:main Nov 30, 2024
27 checks passed
@lolgab lolgab deleted the stop-minifying-fastLinkJS branch November 30, 2024 13:14
@lolgab lolgab added this to the 0.12.4 milestone Nov 30, 2024
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 this pull request may close these issues.

2 participants