π‘ Highlights
Support for DllPlugin
This release introduced rspack.DllPlugin and rspack.DllReferencePlugin in #8296 to be compatible with webpack's DLLPlugin and DllReferencePlugin.
DLL plugins help you improve build performance by separating rarely-changed code (like vendor dependencies) into separate bundles. The term "DLL" stands for Dynamic-link library. See here for more information.
What's Changed
Exciting New Features π
- feat: add memory fs by @jerrykingxyz in #8372
- feat: support rspack.DllPlugin & rspack.DllReferencePlugin by @GiveMe-A-Name in #8296
Bug Fixes π
- fix(cli): Run config function before looking for
--config-name
by @andersk in #8363 - fix: items_to_regexp for chinese by @SyMind in #8368
- fix: allow passing Infinity to parser.asset.dataUrlCondition.maxSize by @inottn in #8344
- fix(side effects): should optimize for same target export by @ahabhgk in #8371
- fix: tapable run in wrong closure by @SyMind in #8376
- fix: required amd in umd external object by @LingyuCoder in #8369
- fix: panic in sort of chunk combination bucket by @LingyuCoder in #8392
- fix: compile time evaluation of
__webpack_layer__
by @inottn in #8381 - fix: panic when imported json file is empty by @LingyuCoder in #8397
- fix: css runtime should have hmr handler when lazy-compilation by @JSerFeng in #8400
- fix: fix
Compiler
not getting freed after use by @h-a-n-a in #8268
Document Updates π
- docs: announcing v1.1 by @LingyuCoder in #8332
- docs: add guide for TypeScript configuration file by @chenjiahan in #8370
- docs: add bluesky file by @chenjiahan in #8373
Other Changes
- refactor: rspack_fs use
Utf8Path
andFileMetadata
by @jerrykingxyz in #8366 - chore: bump to napi@3 by @h-a-n-a in #8359
- refactor(napi): prevent depend on ClassInstance by @SyMind in #8377
- refactor(napi): rm unreachable FromNapiValue by @SyMind in #8378
- build: use symlinked executables instead of command shims by @h-a-n-a in #8382
- refactor: reuse AssetConditions for banner plugin by @inottn in #8350
- test: add missing dev dependencies back by @LingyuCoder in #8398
Full Changelog: v1.1.0...v1.1.1