Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
Rolldown 1.2.13: neue Dev-Option, HMR- und Renamer-Fixes
Rolldown 1.2.13 bringt unter anderem die neue Option experimental.devMode.hotUpdate, verbessertes Verhalten des Glob-Imports und Watch-Modus sowie Korrekturen bei Renamer, HMR-Patches, devtools.sessionId, preserveModules-Chunknamen und with-Klauseln auf externen Imports.
🚀 Features
- rolldown_plugin_vite_import_glob: follow file creation and deletion via hotUpdate (#10550) by @shulaoda
- inline-common-chunks: deduplicate shared code along known loading paths (#11093) by @hyfdev
- rolldown_plugin_vite_import_glob: record a matcher per glob call in dev (#10592) by @shulaoda
- rolldown_plugin_vite_import_glob: watch the directory each glob reads (#10549) by @shulaoda
- watch: hand watch.exclude to notify as its ignore filter (#11008) by @shulaoda
- dev: add
experimental.devMode.hotUpdateoption (#11123) by @h-a-n-a
🐛 Bug Fixes
- renamer: check the printed name of namespace-alias imports for captures (#11129) by @IWANABETHATGUY
- devtools: honor
devtools.sessionIdby @Brooooooklyn - renamer: keep a renamed nested binding off its module's top-level bindings (#11128) by @IWANABETHATGUY
- dev: keep
thisundefined when calling an imported function in HMR patches and lazy chunks (#11126) by @h-a-n-a - dev: read string-named imports correctly in HMR patches and lazy chunks (#11127) by @h-a-n-a
- sanitize preserveModules chunk names after resolving the relative path (#11087) by @waltuov
- keep the
withclause on bare external imports (#11100) by @IWANABETHATGUY - generator: filter DISABLE_JS_HOOK bits from generated HookUsage (#10346) by @Brooooooklyn
- dev: make the module factory async for top-level await (#11118) by @h-a-n-a
- node: give each renderChunk call its own meta object (#11115) by @Brooooooklyn …