A Threejs svelte library - threlte requires to add the following to the svelte.config.js. How would I go about making this work in Astro?
https://threlte.xyz/getting-started#configuration
///svelte.config.js
import preprocess from 'svelte-preprocess'
import seqPreprocessor from 'svelte-sequential-preprocessor'
import { preprocessThrelte } from '@threlte/preprocess'
const config = {
// …
preprocess: seqPreprocessor([preprocess(), preprocessThrelte()])
}
export default config