From c5597313a0be25c125dc6be37bdb99fdead3c103 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Sat, 23 Jun 2018 08:28:34 -0400 Subject: [PATCH] Turn on `--use-preload-plugins` --- tools/buildpkg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/buildpkg.py b/tools/buildpkg.py index b774086b4..0c5cb0d8d 100755 --- a/tools/buildpkg.py +++ b/tools/buildpkg.py @@ -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'),