mirror of https://github.com/pyodide/pyodide.git
12 lines
281 B
Bash
12 lines
281 B
Bash
|
#!/bin/sh
|
||
|
# Use emcc.py because emcc may be a ccache symlink
|
||
|
EM_DIR=`dirname $(which emcc.py)`
|
||
|
FILENAME=$1
|
||
|
shift
|
||
|
$EM_DIR/tools/file_packager.py $FILENAME \
|
||
|
--lz4 \
|
||
|
--export-name=globalThis.__pyodide_module \
|
||
|
--exclude *__pycache__* \
|
||
|
--use-preload-plugins \
|
||
|
$@
|