You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
645 B

// packages/svelte/svelte.config.js
import sveltePreprocess from "svelte-preprocess";
/** @type {import('@sveltejs/kit').Config} */ // Or just an empty object if not using Kit features
const config = {
preprocess: sveltePreprocess({
typescript: true, // Enable TypeScript preprocessing
// You can add other svelte-preprocess options here if needed,
// e.g., for SCSS, PostCSS, etc.
// scss: { includePaths: ['theme'] },
// postcss: true,
}),
// compilerOptions for Svelte if needed, though usually not for Jest transforms directly
// compilerOptions: {
// customElement: false,
// }
};
export default config;