Does shop-minis submit use or upload the .env file?

Hi everyone,

I have a question about how `shop-minis submit` handles environment variables.

  1. When submitting a Shop Mini, does the `submit` command read or upload the `.env` file in any way?
  2. If it does not, what is the recommended way to document or provide the required environment variables for review?

In our project we included both `.env` and `.env.example`, but we are not sure whether `.env` was actually set up during review, or if only the code bundle is uploaded.

Any clarification on how `.env` is treated in the submission process would be very helpful. Thank you.

Hi @Anton_Omelianenko , .env files are currently not supported in production bundles. You are free to use them for your development environment, but any env var usage in the code should have a proper fallback with hardcoded values for production.

Please note these env variables are NOT secrets, and they are part of the client-side bundle, so avoid using any api keys or sensitive information.

Many, many thanks, for explonation