Skip to content

Commit acf7b77

Browse files
committed
docs(api): update some of the compiler hook descriptions
1 parent 7941097 commit acf7b77

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/content/api/compilation-hooks.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Parameters: `module`
6262

6363
`SyncHook`
6464

65-
...
65+
All modules have been built.
6666

6767
Parameters: `modules`
6868

@@ -71,7 +71,7 @@ Parameters: `modules`
7171

7272
`SyncHook`
7373

74-
...
74+
A module has been rebuilt.
7575

7676
Parameters: `module`
7777

@@ -87,7 +87,7 @@ Fired when the compilation stops accepting new modules.
8787

8888
`SyncHook`
8989

90-
...
90+
Fired when a compilation begins accepting new modules.
9191

9292

9393
### `optimizeDependenciesBasic`
@@ -103,7 +103,7 @@ Parameters: `modules`
103103

104104
`SyncBailHook`
105105

106-
...
106+
Fired at the beginning of dependency optimization.
107107

108108
Parameters: `modules`
109109

src/content/api/compiler-hooks.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Parameters: `compilation`
214214

215215
`SyncHook`
216216

217-
Completion of compile
217+
Compilation has completed.
218218

219219
Parameters: `stats`
220220

@@ -223,7 +223,7 @@ Parameters: `stats`
223223

224224
`SyncHook`
225225

226-
Failure of compile
226+
Compilation has failed.
227227

228228
Parameters: `error`
229229

@@ -232,7 +232,7 @@ Parameters: `error`
232232

233233
`SyncHook`
234234

235-
After invalidating a watch compile
235+
Watch compilation has been invalidated.
236236

237237
Parameters: `fileName`, `changeTime`
238238

@@ -241,4 +241,4 @@ Parameters: `fileName`, `changeTime`
241241

242242
`SyncHook`
243243

244-
After stopping a watch compile
244+
Watch mode has stopped.

0 commit comments

Comments
 (0)