Skip to content

Commit cadfa9e

Browse files
authored
docs(guides): begin sorting, reviewing, and editing guides (#1273)
1 parent e9c4862 commit cadfa9e

35 files changed

+306
-255
lines changed

components/footer/footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default (props) => {
1010
<footer className="footer">
1111
<Container className="footer__inner">
1212
<section className="footer__left">
13-
<Link className="footer__link" to="/guides/get-started">Get Started</Link>
13+
<Link className="footer__link" to="/guides/getting-started">Get Started</Link>
1414
<Link className="footer__link" to="/organization">Organization</Link>
1515
<Link className="footer__link" to="/support">Support</Link>
1616
<Link className="footer__link" to="/guides/why-webpack#comparison">Comparison</Link>

content/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ These options allow webpack to display various [stats](/configuration/stats/) an
279279
| Shortcut | Replaces |
280280
|----------|------------------------------------------------------------------|
281281
| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo |
282-
| -p | --optimize-minimize --define process.env.NODE_ENV="production", see [building for production](/guides/production-build) |
282+
| -p | --optimize-minimize --define process.env.NODE_ENV="production", see [building for production](/guides/production) |
283283

284284

285285
### Profiling

content/concepts/entry-points.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ contributors:
66
- chrisVillanueva
77
---
88

9-
Like we mentioned in the [introduction](/guides/get-started/#using-webpack-with-a-config), there are multiple ways to define the `entry` property in your webpack configuration. We will show you the ways you **can** configure the `entry` property, in addition to explaining why it may be useful to you.
9+
As mentioned in [Getting Started](/guides/getting-started/#using-a-configuration), there are multiple ways to define the `entry` property in your webpack configuration. We will show you the ways you **can** configure the `entry` property, in addition to explaining why it may be useful to you.
1010

1111

1212
## Single Entry (Shorthand) Syntax

content/configuration/configuration-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Besides exporting a single config object, there are a few more ways that cover o
1313

1414
## Exporting a function to use `--env`
1515

16-
Eventually you will find the need to disambiguate in your `webpack.config.js` between [development](/guides/development) and [production builds](/guides/production-build). You have (at least) two options:
16+
Eventually you will find the need to disambiguate in your `webpack.config.js` between [development](/guides/development) and [production builds](/guides/production). You have (at least) two options:
1717

1818
Instead of exporting a configuration object, you may return a function which accepts an environment as argument. When running webpack, you may specify build environment keys via `--env`, such as `--env.production` or `--env.platform=web`.
1919

content/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This index lists common terms used throughout the webpack ecosystem.
1616

1717
## B
1818

19-
- [**Bundle**](/guides/get-started/#creating-a-bundle): Produced from a number of distinct modules, bundles contain the final versions of source files that have already undergone the loading and compilation process.
19+
- [**Bundle**](/guides/getting-started/#creating-a-bundle): Produced from a number of distinct modules, bundles contain the final versions of source files that have already undergone the loading and compilation process.
2020
- [**Bundle Splitting**](/guides/code-splitting): This process offers one way of optimizing a build, allowing webpack to generate multiple bundles for a single application. As a result, each bundle can be isolated from changes effecting others, reducing the amount of code that needs to be republished and therefore re-downloaded by the client and taking advantage of browser caching.
2121

2222

content/guides/asset-management.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Asset Management
3+
sort: 3
34
contributors:
45
- skipjack
56
- michael-ciniawsky

content/guides/author-libraries.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Authoring Libraries
3+
sort: 12
34
contributors:
45
- pksjce
56
- johnstew
@@ -207,7 +208,7 @@ If `library` is set and `libraryTarget` is not, `libraryTarget` defaults to `var
207208

208209
### Final Steps
209210

210-
[Tweak your production build using webpack](/guides/production-build).
211+
[Tweak your production build using webpack](/guides/production).
211212

212213
Add the path to your generated bundle as the package's main file in `package.json`
213214

content/guides/build-performance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Improving Build Performance
2+
title: Build Performance
3+
sort: 25
34
---
45

56
?> incremental builds

content/guides/caching.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
---
22
title: Caching
3-
sort: 41
3+
sort: 9
44
contributors:
55
- okonet
66
- jouni-kantola
7+
related:
8+
- title: Predictable Long Term Caching
9+
url: https://medium.com/webpack/predictable-long-term-caching-with-webpack-d3eee1d3fa31
710
---
811

912
To enable long-term caching of static resources produced by webpack:

content/guides/code-splitting-async.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Code Splitting - Async
3-
sort: 33
3+
sort: 17
44
contributors:
55
- simon04
66
- levy9527

0 commit comments

Comments
 (0)