diff --git a/resources/serverless/code-web.js b/resources/serverless/code-web.js index c3f3f22a39e..2e69b9373b6 100644 --- a/resources/serverless/code-web.js +++ b/resources/serverless/code-web.js @@ -81,7 +81,7 @@ async function initialize() { if (packageJSON.browser) { packageJSON.main = packageJSON.browser; - const webpackConfigLocations = glob.sync( + const webpackConfigLocations = await util.promisify(glob)( path.join(EXTENSIONS_ROOT, extensionFolder, '**', 'extension-browser.webpack.config.js'), { ignore: ['**/node_modules'] } );