Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit bddb4d5

Browse files
authored
docs: add multi vars example to README (#240)
1 parent 9a5a9bd commit bddb4d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ webpack --config build/webpack.config.js
8181

8282
The `NODE_ENV` environment variable will be set by `cross-env`
8383

84+
You can set multiple environment variables at a time:
85+
86+
```json
87+
{
88+
"scripts": {
89+
"build": "cross-env FIRST_ENV=one SECOND_ENV=two node ./my-program"
90+
}
91+
}
92+
```
93+
8494
You can also split a command into several ones, or separate the environment
8595
variables declaration from the actual command execution. You can do it this way:
8696

0 commit comments

Comments
 (0)