yarn @rsbuild/core 1.0.1-beta.7
v1.0.1-beta.7

latest releases: 1.5.6, 1.5.5, 1.5.4...
13 months ago

What's Changed

Breaking Changes 🍭

Rsbuild now enables lightningcss-loader by default to transform CSS files, it replaces autoprefixer to add vendor prefixes and provides better performance.

  • @rsbuild/plugin-lightningcss has been deprecated and no longer needed.
  • tools.autoprefixer config has been removed.

Considering that Lightning CSS has some uncovered edge cases, you can still enable autoprefixer via the postcss configuration file:

// postcss.config.cjs
module.exports = {
  plugins: {
    autoprefixer: {},
  }
}

#3047, #3034

New Features 🎉

  • feat: bump Rspack 1.0.0-beta.1 by @chenjiahan in #3072
  • feat: add new tools.lightningcssLoader config by @chenjiahan in #3043
  • feat: add isWatch param to determine whether it is watch mode when build by @9aoy in #3065
  • feat: support only build specified environment by @9aoy in #3059
  • feat(core): add type option to dev.watchFiles to support reload server by @kurorinto in #3069

Performance 🚀

Bug Fixes 🐞

Document 📖

  • docs: add guide for builtin lightningcss loader by @chenjiahan in #3049
  • docs: add remove plugin tip when use environment plugin by @9aoy in #3053
  • docs: make moduleFederation.options more clear by @chenjiahan in #3060
  • docs: simplify tools.rspack examples by @chenjiahan in #3061
  • docs: tells that addRules is adding rules to the leading by @xc2 in #3071

Other Changes

New Contributors

Full Changelog: v1.0.1-beta.6...v1.0.1-beta.7

Don't miss a new core release

NewReleases is sending notifications on new releases.