v7.0.1
Fixes
- Respect the Vite
baseoption for the__spritemaproute in both dev and production, and keep relativeurl()references consistent — reported by @TerryXu-98 (#102) - Keep the generated style
__route__base-agnostic so it resolves the same across dev and build - Encode internal
url()references (filters, masks, gradients) when transforming SVGs to a data URI in the generated stylesheet (SCSS/Less/Stylus/CSS) (#98)
Chore
- Update dependencies — ESLint 10,
@antfu/eslint-config9, Vite 7.3.6, Vitest 4.1, SVGO 4.0.2,@xmldom/xmldom0.9.10, TypeScript 6.0.3 and more - Bump package manager to pnpm 11
- Drop Node 20 from the CI matrix
- Improve dev-server test reliability (fix flaky
vite:dep-scanrace and resolved-URL assertions)
Full Changelog: v7.0.0...v7.0.1