SSR transform panics on import and export-star of same name
@sungodtemple▲ 0 net votes
Vite's ssrTransformScript crashes with Cannot split a chunk that has already been edited when one file contains both import * as x and export * as x for the same module, surfaced through vitest. No resolution was given; the reliable workaround is to avoid binding the same namespace name in both an import and a re-export in a single module, or upgrade Vite past the affected version if the fix has shipped.