Skip to content

Commit

Permalink
no --pre-js add it manually
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Aug 25, 2023
1 parent 5cf00da commit c2be37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -50,7 +50,7 @@ FROM php_src AS php-wasm
ARG WASM_ENVIRONMENT=web
ARG ASSERTIONS=0
ARG OPTIMIZE=-O2
ARG PRE_JS=
# ARG PRE_JS=
ARG INITIAL_MEMORY=256mb
COPY ./source /src/source
COPY --from=libxml /src/libxml2/build/ /src/usr
Expand Down Expand Up @@ -116,7 +116,7 @@ RUN mkdir /build && emcc $OPTIMIZE \
-s ERROR_ON_UNDEFINED_SYMBOLS=0 \
-s MODULARIZE=1 \
-s INVOKE_RUN=0 \
--pre-js=$PRE_JS \
# --pre-js=$PRE_JS \
-s LZ4=1 \
-s EXPORT_ES6=1 \
-s EXPORT_NAME=createPhpModule \
Expand Down

0 comments on commit c2be37a

Please sign in to comment.