You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/configuration/configuration-types.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ contributors:
10
10
- byzyk
11
11
- EugeneHlushko
12
12
- dhurlburtusa
13
+
- anshumanv
13
14
---
14
15
15
16
Besides exporting a single config object, there are a few more ways that cover other needs as well.
@@ -46,6 +47,8 @@ One option is to export a function from your webpack config instead of exporting
46
47
47
48
webpack will run the function exported by the configuration file and wait for a Promise to be returned. Handy when you need to asynchronously load configuration variables.
48
49
50
+
T> It is possible to export multiple promises by wrapping them into `Promise.all([/* Your promises */]).`
0 commit comments