Skip to content

Commit 954bd4a

Browse files
mszczepanczykEugeneHlushko
authored andcommitted
docs(config): Add warning on config in promise usage (#2890)
* Add warning on config in promise usage * Update src/content/configuration/configuration-types.md Co-Authored-By: Eugene Hlushko <jhlushko@gmail.com>
1 parent 506ed10 commit 954bd4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/configuration/configuration-types.md

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ module.exports = () => {
6262
};
6363
```
6464

65+
W> Returning a `Promise` only works when using webpack via CLI. [`webpack()`](/api/node/#webpack) expects an object.
66+
6567

6668
## Exporting multiple configurations
6769

0 commit comments

Comments
 (0)