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

release: 1.0.0-beta.3 #7471

Merged
merged 1 commit into from
Aug 6, 2024
Merged

release: 1.0.0-beta.3 #7471

merged 1 commit into from
Aug 6, 2024

Conversation

chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Aug 6, 2024

What's Changed

Breaking Changes 🛠

SwcJsMinimizerRspackPlugin

Move all SWC options to minimizerOptions:

  • The compress option has been moved to minimizerOptions.compress.
  • The mangle option has been moved to minimizerOptions.mangle.
  • The format option has been moved to minimizerOptions.format.
  • The module option has been moved to minimizerOptions.module.
module.exports = {
  optimization: {
    minimizer: [
      new rspack.SwcJsMinimizerRspackPlugin({
-       format: {
-         ecma: 6,
-       },
+       minimizerOptions: {
+         format: {
+           ecma: 6,
+         },
+       },
      }),
    ],
  },
};

LightningCssMinimizerRspackPlugin

  • The browserslist option has been renamed to minimizerOptions.targets.
module.exports = {
  optimization: {
    minimizer: [
      new rspack.LightningCssMinimizerRspackPlugin({
-       browserslist: 'Chrome >= 53',
+       minimizerOptions: {
+         targets: 'Chrome >= 53',
+       },
      }),
    ],
  },
};

PR: #7444

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Aug 6, 2024
Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 45f2a11
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66b201ee5534a4000815706c

@chenjiahan
Copy link
Member Author

@ahabhgk can you help to check the breaking changes above?

@chenjiahan chenjiahan merged commit 34d5406 into main Aug 6, 2024
68 checks passed
@chenjiahan chenjiahan deleted the release_1_0_0_beta_3 branch August 6, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant