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

Implements --no-minify #536

Merged
merged 6 commits into from
Oct 19, 2019
Merged

Implements --no-minify #536

merged 6 commits into from
Oct 19, 2019

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Oct 18, 2019

What's the problem this PR addresses?

The Yarn build is relatively large (7MB), mostly because we're not minifying it.

How did you fix it?

The webpack configuration will now minify the CLI bundle by default. The builder (yarn build bundle) also accepts a new option, --no-minify, which will allow to build it without optimizations. Finally, the yarn set version from sources command also accepts --no-minify and will forward it to the bundler.

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.

1 participant