Skip to content

Commit b5a40e4

Browse files
committed
docs: document how to work with config.js
1 parent 0c258f0 commit b5a40e4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ mode with live reloading with `npm start`.
1414

1515
There are some linters and tests. `npm test` runs all linters and tests.
1616

17+
### Updating config.js
18+
19+
To avoid comitting production values in `config.js`, make sure to ignore it with
20+
```bash
21+
git update-index --assume-unchanged scripts/config.js
22+
```
23+
24+
If you want to commit a change to the checked in version, you can use the following to
25+
track changes again:
26+
```bash
27+
git update-index --no-assume-unchanged scripts/config.js
28+
```
29+
1730
### License
1831
All code should be licensed under the [MPL-2.0](LICENSE). By submitting a pull
1932
request you agree that your code is licensed that way.

0 commit comments

Comments
 (0)