From 8793910da858def7e6b63b836ffd435b92a89efb Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Wed, 15 Feb 2023 11:56:54 -0300 Subject: [PATCH] awip: dded and await in profile --- tools/isobuild/bundler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/isobuild/bundler.js b/tools/isobuild/bundler.js index 62792faba3..3d7e97aab1 100644 --- a/tools/isobuild/bundler.js +++ b/tools/isobuild/bundler.js @@ -3256,7 +3256,7 @@ async function bundle({ var packageSource = new PackageSource(); packageSource.initFromAppDir(projectContext, exports.ignoreFiles); - var makeClientTarget = Profile( + var makeClientTarget = await Profile( "bundler.bundle..makeClientTarget", async function (app, webArch, options) { var client = new ClientTarget({ bundlerCacheDir, @@ -3280,7 +3280,7 @@ async function bundle({ return client; }); - var makeServerTarget = Profile( + var makeServerTarget = await Profile( "bundler.bundle..makeServerTarget", async function (app, clientArchs) { const server = new ServerTarget({ bundlerCacheDir,