From 80b45838ad1d3bed02ce63ab1161e7900145bb1d Mon Sep 17 00:00:00 2001 From: Brady Hanna Date: Sun, 31 May 2020 23:28:59 +0000 Subject: [PATCH] fix: Support async webpack config (#137) Co-authored-by: Mark Dalgleish Co-authored-by: mattcompiles --- lib/makeWebpackConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/makeWebpackConfig.js b/lib/makeWebpackConfig.js index cf12ca6d..282f7c92 100644 --- a/lib/makeWebpackConfig.js +++ b/lib/makeWebpackConfig.js @@ -171,7 +171,7 @@ module.exports = async (playroomConfig, options) => { }; const theirConfig = playroomConfig.webpackConfig - ? playroomConfig.webpackConfig() + ? await playroomConfig.webpackConfig() : makeDefaultWebpackConfig(playroomConfig); return merge(ourConfig, theirConfig);