Skip to content

Commit d66124d

Browse files
chore: new less loader link (#7671)
* chore: new less loader link * chore: remove mention of me
1 parent 1358332 commit d66124d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/api/loaders.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ contributors:
1515
- chenxsan
1616
- jamesgeorge007
1717
- alexeyr
18-
- evenstensberg
1918
---
2019

2120
A loader is a JavaScript module that exports a function. The [loader runner](https://github.com/webpack/loader-runner) calls this function and passes the result of the previous loader or the resource file into it. The `this` context of the function is filled-in by webpack and the [loader runner](https://github.com/webpack/loader-runner) with some useful methods that allow the loader (among other things) to change its invocation style to async, or get query parameters.
@@ -225,7 +224,7 @@ addDependency(file: string)
225224
dependency(file: string) // shortcut
226225
```
227226

228-
Add an existing file as a dependency of the loader result in order to make them watchable. For example, [`sass-loader`](https://github.com/webpack/sass-loader), [`less-loader`](https://github.com/webpack-contrib/less-loader) uses this to recompile whenever any imported `css` file changes.
227+
Add an existing file as a dependency of the loader result in order to make them watchable. For example, [`sass-loader`](https://github.com/webpack/sass-loader), [`less-loader`](https://github.com/webpack/less-loader) uses this to recompile whenever any imported `css` file changes.
229228

230229
### this.addMissingDependency
231230

0 commit comments

Comments
 (0)