Skip to content

Commit 0c67c47

Browse files
Kent C. Doddsbcoe
Kent C. Dodds
authored andcommitted
docs(env): Add reference to cross-env (#281)
As discussed in #280
1 parent 07d78c5 commit 0c67c47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ the `sourceMaps` option to `inline`.
8080
```
8181

8282
Note: With this configuration, the `__coverage__` will only be active when `NODE_ENV` or `BABEL_ENV` is `test`.
83+
We recommend using the [`cross-env`](https://npmjs.com/package/cross-env) package to set these environment variables
84+
in your `package.json` scripts in a way that works cross-platform.
8385

8486
2. disable nyc's instrumentation and source-maps:
8587

0 commit comments

Comments
 (0)