Skip to content

Commit 232bf00

Browse files
Eugene Epifanovskipjack
authored andcommitted
docs(concepts): change loader order from chonological to reverse (#1767)
When one starts to learn about loaders it's very confusing. [This](https://webpack.js.org/contribute/writing-a-loader/#complex-usage) explains the behaviour much better.
1 parent 9a14935 commit 232bf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/concepts/loaders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This uses the `jade-loader` for `.jade` files, and the [`style-loader`](/loaders
101101

102102
## Loader Features
103103

104-
* Loaders can be chained. They are applied in a pipeline to the resource. A chain of loaders are compiled chronologically. The first loader in a chain of loaders returns a value to the next. At the end loader, webpack expects JavaScript to be returned.
104+
* Loaders can be chained. They are applied in a pipeline to the resource. A chain of loaders are executed in reverse order. The first loader in a chain of loaders returns a value to the next. At the end loader, webpack expects JavaScript to be returned.
105105
* Loaders can be synchronous or asynchronous.
106106
* Loaders run in Node.js and can do everything that’s possible there.
107107
* Loaders accept query parameters. This can be used to pass configuration to the loader.

0 commit comments

Comments
 (0)