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

feat(rspack_plugin_swc_js_minimizer): add minify option #7599

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

fi3ework
Copy link
Member

Summary

Add a new JS minimize option to support alter minify config in swc codegen, previously it was hard coded as true.

The usage is to enable some compress features, but without minify the whitespace in Rslib for now.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Aug 16, 2024
Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 3c2b754
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66c2f1b7894d82000794cb4b

@JSerFeng
Copy link
Collaborator

LGTM, @ahabhgk

ahabhgk
ahabhgk previously approved these changes Aug 19, 2024
@fi3ework fi3ework merged commit c483c0e into web-infra-dev:main Aug 19, 2024
28 checks passed
@fi3ework fi3ework deleted the disable-minify branch August 19, 2024 07:56
@chenjiahan chenjiahan mentioned this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: feature release: feature related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants