build: bump Node version, update tools
Merged
SN
15d ago+1183+1183+0123456789012345678901234567890123456789-1039-1039-0123456789012345678901234567890123456789
Summary by cubic
Updates the build toolchain to Node.js 24, Yarn 4.18.1, TypeScript 6, tsdown 0.23, and web-ext 10, and migrates the tsdown config to the new rolldown/tsdown API.
- CI workflows now use Node.js 24, and docs bump the required LTS version accordingly.
tools/tsdown_config.tswas rewritten for tsdown 0.23:outputOptions,deps.alwaysBundle, andcodeSplitting.groupsreplace the oldnoExternal/advancedChunksoptions, andreplacePluginnow comes fromrolldown/plugins.- JSON imports use
with { type: "json" }, local imports use.tsextensions, androlldownis pinned to^1.2.14instead oflatest. tools/tsconfig.jsonenablesallowImportingTsExtensionsandemitDeclarationOnly.