mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 06:55:05 +01:00
433b9893d4
* fix(tia): parse SFC entries when building the JS module graph rolldown has no SFC handling, so every .vue/.svelte page failed to parse at the first byte of <script> and the JS graph came back empty. Reduce the component to its script blocks before rolldown sees it, which is enough for import specifiers. Closes #1918 * fix(tia): keep template-only TS imports and stub CSS as JS TypeScript elision dropped imports used only in a <template>, so lang="ts" pages lost those edges. Newer rolldown also rejects asset stubs without an explicit moduleType, failing the build on any CSS import. * fix(tia): ignore comments when detecting default export * Refresh SFC module graph regression snapshots --------- Co-authored-by: Punyapal Shah <53343069+MrPunyapal@users.noreply.github.com>