Reproduction for svelte-preprocess sourcemap crash issue. yarn install yarn build Note the build failure Uncomment the outDir entry in svelte.config.mjs and build again to see things work.