mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
📎 Add workaround for wasm production build failure
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user