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.5 #7586

Merged
merged 4 commits into from
Aug 15, 2024
Merged

release: 1.0.0-beta.5 #7586

merged 4 commits into from
Aug 15, 2024

Conversation

chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Aug 15, 2024

Highlights

Improved HtmlRspackPlugin

rspack.HtmlRspackPlugin has a lot of improvements to be more in line with the html-webpack-plugin.

  • [Feat] Support hash to append compilation hash
  • [Feat] Support base to inject base tag
  • [Feat] Support scriptLoading=systemjs-module
  • [Feat] Support [templatehash] in filename template, same as [contenthash]
  • [Breaking] Rename excludedChunks to excludeChunks, aligned with html-webpack-plugin
  • [Breaking] Minify html by default when mode=production
  • [Fix] No doctype parsing error
  • [Fix] Win32 relateive path
  • [Fix] Relative favicon path
  • [Fix] Wrong & escaping in script.src and link.href
  • [Test] Passed html-webpack-plugin basic cases from 45 to 85

PR: #7577

Removed SwcCssMinimizerRspackPlugin

The rspack.SwcCssMinimizerRspackPlugin has been removed to reduce binary size, please use LightningCssMinimizerRspackPlugin instead:

module.exports = {
  optimization: {
    minimizer: [
-     new rspack.SwcCssMinimizerRspackPlugin({
+     new rspack.LightningCssMinimizerRspackPlugin({
        // options
      }),
    ],
  },
};

Rspack also supports using css-minimizer-webpack-plugin.

What's Changed

Breaking Changes 🛠

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Document Updates 📖

Other Changes

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5TODO

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

netlify bot commented Aug 15, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 5b9ef93
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66bde127431f8e00082b4e6c
😎 Deploy Preview https://deploy-preview-7586--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rspack-bot
Copy link

rspack-bot commented Aug 15, 2024

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
nx ❌ failure
rspress ✅ success
rsbuild ✅ success
examples ✅ success

@rspack-bot
Copy link

rspack-bot commented Aug 15, 2024

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
nx ❌ failure
rspress ✅ success
rsbuild ✅ success
examples ❌ failure

@chenjiahan chenjiahan merged commit 218bda0 into main Aug 15, 2024
58 checks passed
@chenjiahan chenjiahan deleted the release_1_0_0_beta_5 branch August 15, 2024 14:18
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.

2 participants