Skip to content

Commit

Permalink
fix: Support async webpack config (#137)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Dalgleish <mark.john.dalgleish@gmail.com>
Co-authored-by: mattcompiles <mattjones701@gmail.com>
  • Loading branch information
3 people committed May 31, 2020
1 parent 482bafc commit 80b4583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/makeWebpackConfig.js
Expand Up @@ -171,7 +171,7 @@ module.exports = async (playroomConfig, options) => {
};

const theirConfig = playroomConfig.webpackConfig
? playroomConfig.webpackConfig()
? await playroomConfig.webpackConfig()
: makeDefaultWebpackConfig(playroomConfig);

return merge(ourConfig, theirConfig);
Expand Down

0 comments on commit 80b4583

Please sign in to comment.