github web-infra-dev/rspack v1.3.0-beta.0

23 hours ago

Highlights 💡

Support for the extends option

The rspack.config.js now supports an extends option, which is used to extend configurations from other files or packages. This allows you to create a base configuration and extend it for different environments or use cases.

Example usage:

export default {
  extends: './base.rspack.config.mjs',
  // Override or add to the base configuration
  output: {
    filename: '[name].bundle.js',
  },
};

Special thanks to @hulin32 for contributing this feature: #9617. 🎉

What's Changed

Breaking Changes 🛠

Exciting New Features 🎉

  • feat: support module subtype in js side by @SyMind in #9613
  • feat: implement module.generator.json.JSONParse by @colinaaa in #9666
  • feat: support read NormalModule.loaders by @ahabhgk in #9664
  • feat: incremental for new code splitting by @JSerFeng in #9667
  • feat: add extends property in config options by @hulin32 in #9617
  • feat: externals getResolve callback third argument by @ahabhgk in #9681
  • feat: js api support instranceof AsyncDependenciesBlock by @SyMind in #9661
  • feat: add file permission bits on copy by @hulin32 in #9650

Bug Fixes 🐞

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v1.2.8...v1.3.0-beta.0

Don't miss a new rspack release

NewReleases is sending notifications on new releases.