//if you want to access your env variable TEST_VAR you should prefix it with VITE_ VITE_TEST_VAR=123f //you can access it with import.meta.env.VITE_TEST_VAR