1
0
mirror of synced 2025-12-19 18:10:59 -05:00

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
committed by GitHub
parent 5bcef31cbf
commit 70e8b76833

View File

@@ -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`