From f8a2291a55c42aea5b694c14ecaf4e415e86a056 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 21 Mar 2025 14:07:02 +0100 Subject: [PATCH] :paperclip: Add workaround for wasm production build failure --- frontend/scripts/build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/scripts/build b/frontend/scripts/build index b298015456..2b0cdbd96d 100755 --- a/frontend/scripts/build +++ b/frontend/scripts/build @@ -24,7 +24,14 @@ rm -rf resources/public; rm -rf target/dist; yarn run build:app:main --config-merge "{:release-version \"${CURRENT_HASH}-${TS}\"}" $EXTRA_PARAMS || exit 1 + + +## WORKAROUND: tile rendering breaks the production build +export NODE_ENV=develop; yarn run build:wasm || exit 1; + +export NODE_ENV=production; + yarn run build:app:libs || exit 1; yarn run build:app:assets || exit 1;