diff --git a/desktop/scripts/build-utils.tsx b/desktop/scripts/build-utils.tsx index 073f2001b..685a1b852 100644 --- a/desktop/scripts/build-utils.tsx +++ b/desktop/scripts/build-utils.tsx @@ -123,7 +123,7 @@ async function compile( }, ); if (!dev) { - stripSourceMapComment(out); + await stripSourceMapComment(out); } } @@ -233,7 +233,7 @@ export async function compileMain() { }); console.log('✅ Compiled main bundle.'); if (!dev) { - stripSourceMapComment(out); + await stripSourceMapComment(out); } } catch (err) { die(err);