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: content/pluginsapi/compiler.md
+54-1Lines changed: 54 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,67 @@ title: Compiler
3
3
sort: 2
4
4
---
5
5
6
-
## Compiler
6
+
The `Compiler` module of webpack is the main engine that creates a compilation instance with all the options passed through webpack CLI or `webpack` api or webpack comfiguration file.
7
+
8
+
It is exported by `webpack` api under `webpack.Compiler`.
9
+
10
+
The compiler is used by webpack by instantiating it and then calling the `run` method.
0 commit comments