Skip to content

Commit 649ae3a

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(concepts) Update dependency graph concepts page (#2495)
* docs(concepts) Update dependency graph concepts page * docs(concepts) Dependency graph minor tweak
1 parent 2e774a3 commit 649ae3a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/content/concepts/dependency-graph.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ title: Dependency Graph
33
sort: 9
44
contributors:
55
- TheLarkInn
6+
- EugeneHlushko
7+
related:
8+
- title: HTTP2 Aggresive Splitting Example
9+
url: https://github.com/webpack/webpack/tree/master/examples/http2-aggressive-splitting
10+
- title: webpack & HTTP/2
11+
url: https://medium.com/webpack/webpack-http-2-7083ec3f3ce6
612
---
713

814
Any time one file depends on another, webpack treats this as a _dependency_. This allows webpack to take non-code assets, such as images or web fonts, and also provide them as _dependencies_ for your application.
915

1016
When webpack processes your application, it starts from a list of modules defined on the command line or in its config file.
11-
Starting from these _entry points_, webpack recursively builds a _dependency graph_ that includes every module your application needs, then packages all of those modules into a small number of _bundles_ - often, just one - to be loaded by the browser.
17+
Starting from these [_entry points_](/concepts/entry-points/), webpack recursively builds a _dependency graph_ that includes every module your application needs, then bundles all of those modules into a small number of _bundles_ - often, just one - to be loaded by the browser.
1218

13-
T> Bundling your application is especially powerful for *HTTP/1.1* clients, as it minimizes the number of times your app has to wait while the browser starts a new request. For *HTTP/2*, you can also use Code Splitting and bundling through webpack for the [best optimization](https://medium.com/webpack/webpack-http-2-7083ec3f3ce6#.7y5d3hz59).
19+
T> Bundling your application is especially powerful for _HTTP/1.1_ clients, as it minimizes the number of times your app has to wait while the browser starts a new request. For _HTTP/2_, you can also use [Code Splitting](/guides/code-splitting/) to achieve best results.

0 commit comments

Comments
 (0)