mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Add render.wasm to the frontend build process
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user