Skip to content

Commit 70183d7

Browse files
nveenjainmontogeek
authored andcommitted
fix(docs): Fix Broken links (#1942)
These links were broken in Plugins Page. Fixed them, will try to find more.
1 parent 38993f4 commit 70183d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/content/api/plugins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contributors:
1010

1111
Plugins are a key piece of the webpack ecosystem and provide the community with
1212
a powerful way to tap into webpack's compilation process. A plugin is able to
13-
[hook](/api/compiler/#event-hooks) into key events that are fired throughout each compilation. Every step
13+
[hook](/api/compiler-hooks/#hooks) into key events that are fired throughout each compilation. Every step
1414
of the way, the plugin will have full access to the `compiler` and, when
1515
applicable, the current `compilation`.
1616

@@ -41,7 +41,7 @@ noted.
4141
Depending on the hooks used and `tap` methods applied, plugins can function in
4242
a different number of ways. The way this works is closely related to the
4343
[hooks](https://github.com/webpack/tapable#tapable) provided by `Tapable`. The
44-
[compiler hooks](/api/compiler/#event-hooks) each note the underlying `Tapable` hook indicating which
44+
[compiler hooks](/api/compiler-hooks/#hooks) each note the underlying `Tapable` hook indicating which
4545
`tap` methods are available.
4646

4747
So depending which event you `tap` into, the plugin may run differently. For
@@ -96,5 +96,5 @@ different hook classes and how they work.
9696

9797
## Next Steps
9898

99-
See the [compiler hooks](/api/compiler/#event-hooks) section for a detailed listing of all the available
99+
See the [compiler hooks](https://webpack.js.org/api/compiler-hooks/) section for a detailed listing of all the available
100100
`compiler` hooks and the parameters they make available.

src/content/api/resolvers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sort: 3
77
Resolvers are created using the `enhanced-resolve` package. The `Resolver`
88
class extends the `tapable` class and uses `tapable` to provide a few hooks.
99
The `enhanced-resolve` package can be used directly to create new resolvers,
10-
however any [`compiler` instance](/api/compiler/) has a few resolver instances that can be
10+
however any [`compiler` instance](/api/node/#compiler-instance) has a few resolver instances that can be
1111
tapped into.
1212

1313
Before reading on, make sure you at least skim through the

src/content/contribute/writing-a-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A plugin for `webpack` consists of
1313

1414
- A named JavaScript function.
1515
- Defines `apply` method in it's prototype.
16-
- Specifies an [event hook](/api/compiler/#event-hooks) on which to bind itself.
16+
- Specifies an [event hook](/api/compiler-hooks/) on which to bind itself.
1717
- Manipulates webpack internal instance specific data.
1818
- Invokes webpack provided callback after functionality is complete.
1919

0 commit comments

Comments
 (0)