No environment variables will be exposed to clients unless you define it in a .env.example file.
Compile Safe
No more forgetting to provide environment variables. Using Import-meta-env, if your code compiles, it works.
Type-safe
No more typos. Import-meta-env automatically generates types for your environment variables by using the .env.example file as a source of type information.
Versatile
Support for Babel, SWC, and Unplugin for ESbuild, Rollup, Vite, Webpack, etc.
Adoptable
Designed with a generic approach in mind, CSR/SSR, transpilers/bundlers, workers, service workers, and even micro frontend are all supported.
Save Time & Money
Speed up your CI/CD pipeline, you no longer need to build multiple bundles for different stages.