Thank you! This helped me figure out the issue I was having when trying to import .env vars into my endpoints.
The SvelteKit project init had set the ecma version in my eslint parserOptions to 2019. Changing that to 2020 and defining the compilerOptions in my jsconfig.json fixed the issue.
Software hacker working in the industry since 2003. Currently loves: #Typescript and #Svelte. Founder of Chimera, the first makerspace in northern California.
Thank you! This helped me figure out the issue I was having when trying to import
.env
vars into my endpoints.The SvelteKit project init had set the ecma version in my eslint
parserOptions
to 2019. Changing that to 2020 and defining thecompilerOptions
in myjsconfig.json
fixed the issue.Glad I could help!