Skip to content

Commit

Permalink
docs: add wildcard to suggested .gitignore entry in docs (#7512)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Mar 29, 2022
1 parent 9481c7d commit b16b896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/env-and-mode.md
Expand Up @@ -57,7 +57,7 @@ If you want to customize env variables prefix, see [envPrefix](/config/index#env

:::warning SECURITY NOTES

- `.env.*.local` files are local-only and can contain sensitive variables. You should add `.local` to your `.gitignore` to avoid them being checked into git.
- `.env.*.local` files are local-only and can contain sensitive variables. You should add `*.local` to your `.gitignore` to avoid them being checked into git.

- Since any variables exposed to your Vite source code will end up in your client bundle, `VITE_*` variables should _not_ contain any sensitive information.
:::
Expand Down

0 comments on commit b16b896

Please sign in to comment.