Skip to content

Commit f73297e

Browse files
Add warning on config in promise usage
1 parent 1a4a516 commit f73297e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/configuration/configuration-types.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ module.exports = () => {
5959
};
6060
```
6161

62+
W> Keep in mind this only works when using CLI. [`webpack()`](/api/node/#webpack) expects a config object.
63+
6264

6365
## Exporting multiple configurations
6466

0 commit comments

Comments
 (0)