Skip to content

Commit c34f0d1

Browse files
authored
docs: tweak wording (#11876)
1 parent 0515267 commit c34f0d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/config/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default defineConfig(async ({ command, mode }) => {
8282
})
8383
```
8484

85-
## Environment Variables
85+
## Using Environment Variables in Config
8686

8787
Environmental Variables can be obtained from `process.env` as usual.
8888

docs/config/shared-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See [Env Variables and Modes](/guide/env-and-mode) for more details.
3737

3838
Define global constant replacements. Entries will be defined as globals during dev and statically replaced during build.
3939

40-
- Starting from `2.0.0-beta.70`, string values will be used as raw expressions, so if defining a string constant, it needs to be explicitly quoted (e.g. with `JSON.stringify`).
40+
- String values will be used as raw expressions, so if defining a string constant, **it needs to be explicitly quoted** (e.g. with `JSON.stringify`).
4141

4242
- To be consistent with [esbuild behavior](https://esbuild.github.io/api/#define), expressions must either be a JSON object (null, boolean, number, string, array, or object) or a single identifier.
4343

0 commit comments

Comments
 (0)