You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If tsconfig.json does not contain compilerOptions and instead references other tsconfigs, svelte-preprocess fails to get the actual TS configs. In particular, it results in the fallbacked target ES2015, where object resting isn't supported yet (it was added in ES2018), and the following component fails to compile:
From sveltejs/svelte#15782
If
tsconfig.json
does not containcompilerOptions
and instead references other tsconfigs, svelte-preprocess fails to get the actual TS configs. In particular, it results in the fallbacked target ES2015, where object resting isn't supported yet (it was added in ES2018), and the following component fails to compile:To Reproduce
npm create vite
, select Svelte and Typescript.npm i svelte-preprocess
and apply itvite.config.ts
Expected behavior
The component is successfully compiled.
Information about your project:
svelte-preprocess
version 6.0.3The text was updated successfully, but these errors were encountered: