diff --git a/src/content/configuration/configuration-types.md b/src/content/configuration/configuration-types.md index 337a4b22f24c..58addf2bc477 100644 --- a/src/content/configuration/configuration-types.md +++ b/src/content/configuration/configuration-types.md @@ -62,6 +62,8 @@ module.exports = () => { }; ``` +W> Returning a `Promise` only works when using webpack via CLI. [`webpack()`](/api/node/#webpack) expects an object. + ## Exporting multiple configurations