I am using @rollup/plugin-replace to use dotenv in Svelte.
When I replace the variables like below,
replace({
preventAssignment: true,
DATABASE_URL: JSON.stringify(process.env.SUPABASE_URL),
})
and use above in main.ts, it can't find the variable but prints well in the console.
The DATABASE_URL actaully exists. It is just a typescript error.
How can I resolve this?
