Env Variables and Modes âEnv Variables âVite exposes env variables on the special import.meta.env object, which are statically replaced at build time. Some built-in variables are available in all cases: import.meta.env.MODE: {string} the mode the app is running in. import.meta.env.BASE_URL: {string} the base url the app is being served from. This is determined by the base config option. import.met

{{#tags}}- {{label}}
{{/tags}}