Skip to content

Commit 98aba95

Browse files
Loic PlaireTheDutchCoder
Loic Plaire
authored andcommitted
docs(API): fix a typo in the synchronous loader code example (#1860)
This fixes a typo in the API documentation where `sourceMaps` was referenced instead of `map`.
1 parent ed89ed5 commit 98aba95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/api/loaders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ __sync-loader-with-multiple-results.js__
3636

3737
``` js
3838
module.exports = function(content, map, meta) {
39-
this.callback(null, someSyncOperation(content), sourceMaps, meta);
39+
this.callback(null, someSyncOperation(content), map, meta);
4040
return; // always return undefined when calling callback()
4141
};
4242
```

0 commit comments

Comments
 (0)