Skip to content

Commit

Permalink
fix minor misunderstanding in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-yx committed Aug 26, 2019
1 parent 111926f commit 0224fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ if (!condition) {

Note: TSDX doesn't supply an `invariant` function for you, you need to import one yourself. We recommend https://github.com/alexreardon/tiny-invariant.

To extract and minify `invariant` error codes in production into a static `codes.json` file, specify either `--extractErrors` in command line or set `extractErrors: true` in `tsdx.config.js`. For more details see [Error extraction docs](#error-extraction).
To extract and minify `invariant` error codes in production into a static `codes.json` file, specify either `--extractErrors` in command line. For more details see [Error extraction docs](#error-extraction).

##### `warning`

Expand Down

0 comments on commit 0224fac

Please sign in to comment.