You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-19Lines changed: 0 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,6 @@
4
4
5
5
This is the official [Heroku buildpack](http://devcenter.heroku.com/articles/buildpacks) for Node.js apps. If you fork this repository, please **update this README** to explain what your fork does and why it's special.
6
6
7
-
8
-
## How it Works
9
-
10
-
Apps are built via one of four paths:
11
-
12
-
1. A regular `npm install` (first build; default scenario)
13
-
2. Copy existing `node_modules` from cache, then `npm prune`, then `npm install` (subsequent builds)
14
-
3. Skip dependencies (if package.json doesn't exist but server.js does)
15
-
4. Skip cache, run `npm rebuild` before `npm install` (`node_modules` are checked into source control)
16
-
17
-
You should only use #3 (omitting package.json) for quick tests or experiments.
18
-
19
-
You should never use #4 - it's included for backwards-compatibility and will generate warnings.
20
-
**Checking in `node_modules` is an antipattern.**
21
-
For more information, see [the npm docs](https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git-)
22
-
23
-
For technical details, check out the [heavily-commented compile script](https://github.com/heroku/heroku-buildpack-nodejs/blob/master/bin/compile).
24
-
25
7
## Documentation
26
8
27
9
For more information about using Node.js and buildpacks on Heroku, see these Dev Center articles:
@@ -32,7 +14,6 @@ For more information about using Node.js and buildpacks on Heroku, see these Dev
0 commit comments