Rolldown 1.0.0-rc.11: MagicString-Erweiterungen und Fehlerbehebungen
MagicString unterstützt nun Regex-Ersetzung, ignoreList und getIndentString, weitere Optionen wie sourcemapExcludeSources sind verfügbar, und mehrere Fehler wurden behoben.
🚀 Features
- magicString replace with regex (#8802) by @IWANABETHATGUY
- support
output.sourcemapExcludeSourcesoption (#8828) by @sapphi-red - support
getIndentStringin MagicString (#8775) by @IWANABETHATGUY - MagicString ignoreList support (#8773) by @IWANABETHATGUY
🐛 Bug Fixes
- forward test filters through vp run (#8870) by @younggglcy
- types: remove
pluginNamefromMinimalPluginContext(#8864) by @sapphi-red - do not report eval?.() as direct eval (#8860) by @IWANABETHATGUY
- handle negative indices, overlapping ranges, and moved content in MagicString remove (#8829) by @IWANABETHATGUY
- enable arbitrary_precision for serde_json to fix JSON float parsing (#8848) by @elderapo
- resolve TypeScript lint errors (#8841) by @Boshen
- avoid panic on multi-byte UTF-8 chars in hash placeholder iterator (#8790) by @shulaoda
- ci: skip failing vite build watch raw query test (#8840) by @Boshen
- ci: use step-level env override to unset VITE_PLUS_CLI_BIN in vite tests (#8838) by @Boshen
- ci: move vite tests into CI workflow by @Boshen
- ci: unset all VITE_PLUS_* env vars in vite-tests workflow (#8837) by @Boshen
- test: skip watch CLI tests on Windows (#8830) by @Boshen
- ci: unset VITE_PLUS_CLI_BIN in vite-tests workflow (#8832) by @Boshen
- remove redundant bare side-effect imports in entry/facade chunks (#8804) by @h-a-n-a
- magicString prepend issues (#8797) by @IWANABETHATGUY
- ci: use
vpxinstead ofvp execforpkg-pr-new(#8827) by @Boshen …