mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 03:31:37 +02:00
✨ Add render.wasm to the frontend build process
This commit is contained in:
parent
5d4511fc6a
commit
1be204e22d
3 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export _BUILD_MODE=${1:-debug};
|
||||
|
||||
if [ "$NODE_ENV" = "production" ]; then
|
||||
export _BUILD_MODE="release";
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue