mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 01:26:10 +02:00
📎 Add workaround for wasm production build failure
This commit is contained in:
parent
8c302e314f
commit
f8a2291a55
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue