Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@Timeless0911 Timeless0911 released this 06 Jan 11:07
· 7 commits to main since this release
d65c83f

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 and redirect.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:
    • Support handling file additions and removals in watch mode. (#642)
    • Refined source.entry configuration, defaulting to src/** and excluding .d.ts files from being treated as entry points. (#636 #647)

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 and redirect.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

Full Changelog: v0.2.2...v0.3.0