Skip to content

feat(experimental): dotenv

Marco Wettstein requested to merge dotenv into main
  • you can configure a component with dotEnv: true
  • this will create a .env file locally in the components folder
  • it will also create a .env file during build (ONLY during build atm)

this is mainly to support env vars in react-native or other tools that rely on .env files.

its currently configured directly on the component and has an effect both locally and on the build.

be aware that this will overwrite any existing .env files!

Edited by Marco Wettstein

Merge request reports