Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Fix for "@zeit/ncc is no longer maintained" #35

Merged
merged 2 commits into from
Apr 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions responses/16_using-ncc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

We typically don't commit a `node_modules` folder in a repository. These can often grow to be huge if your project has many dependencies. Because of the way Node works this folder is a necessary evil, but there is a way to get rid of it!

First you need to install a tool called [ncc](https://github.com/zeit/ncc). You'll want to install this tool globally so that you can use as if it's any other CLI tool on your machine.
First you need to install a tool called [ncc](https://github.com/vercel/ncc). You'll want to install this tool globally so that you can use as if it's any other CLI tool on your machine.

What **ncc** does is take all the dependencies within your project and compile them into a single JavaScript file. This allows you to avoid committing the `node_modules` folder in your actions source code.

**Install ncc**
`npm install -g @zeit/ncc`
`npm install -g @vercel/ncc`

**Using ncc**
When you use ncc:
Expand Down