mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
:paperlip: Add minor update to render-wasm build script
This commit is contained in:
parent
aeda6271cd
commit
21cdd1200a
1 changed files with 2 additions and 3 deletions
|
@ -6,11 +6,10 @@ else
|
|||
export _BUILD_MODE=${1:-debug};
|
||||
fi
|
||||
|
||||
export EMSDK_QUIET=1
|
||||
export EMCC_CFLAGS="--no-entry -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s MAX_WEBGL_VERSION=2 -s MODULARIZE=1 -s EXPORT_NAME=createRustSkiaModule -s EXPORTED_RUNTIME_METHODS=GL -s ENVIRONMENT=web -s EXPORT_ES6=1 -sMODULARIZE"
|
||||
|
||||
source /usr/local/emsdk/emsdk_env.sh;
|
||||
source /usr/local/cargo/env
|
||||
EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
|
||||
. /usr/local/cargo/env
|
||||
|
||||
export EM_CACHE="/tmp/emsdk_cache";
|
||||
|
||||
|
|
Loading…
Reference in a new issue