Skip to content

Commit d50e8f7

Browse files
authored
docs: add backticks (#20059)
1 parent 0d18fc1 commit d50e8f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/config/shared-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ See [here](/guide/env-and-mode#env-files) for more about environment files.
466466
- **Type:** `string | string[]`
467467
- **Default:** `VITE_`
468468

469-
Env variables starting with `envPrefix` will be exposed to your client source code via import.meta.env.
469+
Env variables starting with `envPrefix` will be exposed to your client source code via `import.meta.env`.
470470

471471
:::warning SECURITY NOTES
472472
`envPrefix` should not be set as `''`, which will expose all your env variables and cause unexpected leaking of sensitive information. Vite will throw an error when detecting `''`.

docs/guide/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Keeping Vite fast with a growing codebase is about reducing the amount of work f
115115
Examples of doing less work:
116116

117117
- Use CSS instead of Sass/Less/Stylus when possible (nesting can be handled by PostCSS)
118-
- Don't transform SVGs into UI framework components (React, Vue, etc). Import them as strings or URLs instead.
118+
- Don't transform SVGs into UI framework components (React, Vue, etc.). Import them as strings or URLs instead.
119119
- When using `@vitejs/plugin-react`, avoid configuring the Babel options, so it skips the transformation during build (only esbuild will be used).
120120

121121
Examples of using native tooling:

0 commit comments

Comments
 (0)