Skip to content

Commit

Permalink
wip: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf0 committed Aug 21, 2021
1 parent 0d41627 commit 96cedc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/index.md
Expand Up @@ -338,7 +338,7 @@ export default defineConfig(async ({ command, mode }) => {
- **Type:** `string | string[]`
- **Default:** `VITE_`

Env variables starts `envVariblePrefix` will be exposed to your client source code via import.meta.env.
Env variables starts with `envVariblePrefix` will be exposed to your client source code via import.meta.env.

:::warning SECURITY NOTES

Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -172,7 +172,7 @@ export interface UserConfig {
*/
envDir?: string
/**
* Env variables starts `envVariblePrefix` will be exposed to your client source code via import.meta.env.
* Env variables starts with `envVariblePrefix` will be exposed to your client source code via import.meta.env.
* @default 'VITE_'
*/
envVariblePrefix?: string | string[]
Expand Down

0 comments on commit 96cedc1

Please sign in to comment.