pull/11627/head
Rich Harris 2 years ago
parent dc6c5debb8
commit 6622082516

@ -12,7 +12,7 @@ const common = {
// default to process.cwd() where it exists to replicate svelte4 behavior
// see https://github.com/sveltejs/svelte/blob/b62fc8c8fd2640c9b99168f01b9d958cb2f7574f/packages/svelte/src/compiler/compile/Component.js#L211
rootDir: string(typeof process !== 'undefined' && process.cwd?.() ?? ''),
rootDir: string(typeof process !== 'undefined' ? process.cwd?.() : undefined),
dev: boolean(false),

Loading…
Cancel
Save