зеркало из https://github.com/github/docs.git
Info about committing node_modules to the git repo (#1454)
Co-authored-by: Laura Coursen <lecoursen@github.com>
This commit is contained in:
Родитель
5bcef31cbf
Коммит
70e8b76833
|
@ -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`
|
||||
|
|
Загрузка…
Ссылка в новой задаче