What's Changed
Highlights ✨
This release brings some improvements and new features, addressing common scenarios and enhancing the overall user experience:
- Enhanced Style File Redirection: Support for
redirect.style.path
andredirect.style.extension
to configure the redirection of the import paths of style files. (#618) - Optimized JavaScript File Redirection: Fix some cases about redirection of the import paths of output JavaScript files. (#615 #624)
- Improved Bundleless Mode:
Breaking changes 🚨
Please note the following changes that may require adjustments to your configurations:
- Boolean values are no longer supported for
redirect.style
, see the documentation of redirect.style for more details. (#618) - The
autoExternal
configuration is no longer effective in bundleless mode, see the documentation of autoExternal for more details. (#624)
New Features 🎉
- feat!: disable
autoExternal
in bundleless mode and only redirect request not in node_modules by @Timeless0911 in #624 - feat!: support
redirect.style.path
andredirect.style.extension
by @SoonIter in #618 - feat: entry default to
src/**
in bundleless mode by @Timeless0911 in #647 - feat: throw error when no configuration match
--lib
option by @Timeless0911 in #648
Bug Fixes 🐞
- fix: do not treat .d.ts as entry by @fi3ework in #636
- fix: detect possible glob pattern in bundle more by @fi3ework in #634
- fix: handle add and unlink file in bundleless mode by @fi3ework in #642
Document 📖
- docs: add how to skip the preprocessing of
less/scss
files by @Timeless0911 in #623
Other Changes
- chore(deps): update all patch dependencies by @renovate in #628
- chore(deps): update all patch dependencies by @renovate in #639
- chore: bump Rsbuild 1.2.0-alpha.0 by @Timeless0911 in #640
- chore(deps): update dependency @types/lodash to ^4.17.14 by @renovate in #645
- chore(deps): update dependency commander to v13 by @renovate in #646
- Release v0.3.0 by @Timeless0911 in #649
Full Changelog: v0.2.2...v0.3.0