Info about committing node_modules to the git repo (#1454)

Co-authored-by: Laura Coursen <lecoursen@github.com>
This commit is contained in:
Dani Akash 2020-12-14 11:24:24 +05:30 коммит произвёл GitHub
Родитель 5bcef31cbf
Коммит 70e8b76833
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -176,7 +176,7 @@ git tag -a -m "My first action release" v1
git push --follow-tags
```
As an alternative to checking in your `node_modules` directory you can use a tool called [`@vercel/ncc`](https://github.com/vercel/ncc) to compile your code and modules into one file used for distribution.
Checking in your `node_modules` directory can cause problems. As an alternative, you can use a tool called [`@vercel/ncc`](https://github.com/vercel/ncc) to compile your code and modules into one file used for distribution.
1. Install `vercel/ncc` by running this command in your terminal.
`npm i -g @vercel/ncc`