Commit c5597313 authored by Michael Droettboom's avatar Michael Droettboom

Turn on `--use-preload-plugins`

parent 7a916a34
......@@ -144,7 +144,8 @@ def package_files(buildpath, srcpath, pkg, args):
'--js-output={}'.format(os.path.join(buildpath, name + '.js')),
'--export-name=pyodide',
'--exclude', '*.wasm.pre',
'--exclude', '__pycache__'], check=True)
'--exclude', '__pycache__',
'--use-preload-plugins'], check=True)
subprocess.run([
'uglifyjs',
os.path.join(buildpath, name + '.js'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment