-
The documentation of SvelteKit for the
It clearly says "files" in the plural form. But which files does this mean, since there cannot be multiple files with the same name in one folder? In our projects, we have a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
SvelteKit uses Vite's /** default file */ `.env`,
/** local file */ `.env.local`,
/** mode file */ `.env.${mode}`,
/** mode local file */ `.env.${mode}.local` |
Beta Was this translation helpful? Give feedback.
SvelteKit uses Vite's
loadEnv()
to load the files. Per the function here, it will read the following: