$ the-wire · showcase
VitePress build fix keeps code intact inside lean chunks
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
A VitePress lean-chunk build bug that stripped code between static vnodes is fixed, alongside a Russian docs translation refresh.
fix(build): keep code between static vnodes in lean chunks (close #5553) vuejs/vitepress
The regexp that locates the html inside createStaticVNode(...) calls used a greedy ".*", running to the last quote on the line; Rollup kept each call on its own line, but rolldown prints short arrays on one line, so a single match could span from the first call's html to the last call's and stripping it also dropped the code in between, producing a SyntaxError once the brackets no longer balanc...
docs(ru): update translations vuejs/vitepress
dragomano refreshed the Russian translations in the VitePress docs. A docs change with no runtime surface.