mirror of https://github.com/pyodide/pyodide.git
Turn on `--use-preload-plugins`
This commit is contained in:
parent
7a916a34e1
commit
c5597313a0
|
@ -144,7 +144,8 @@ def package_files(buildpath, srcpath, pkg, args):
|
||||||
'--js-output={}'.format(os.path.join(buildpath, name + '.js')),
|
'--js-output={}'.format(os.path.join(buildpath, name + '.js')),
|
||||||
'--export-name=pyodide',
|
'--export-name=pyodide',
|
||||||
'--exclude', '*.wasm.pre',
|
'--exclude', '*.wasm.pre',
|
||||||
'--exclude', '__pycache__'], check=True)
|
'--exclude', '__pycache__',
|
||||||
|
'--use-preload-plugins'], check=True)
|
||||||
subprocess.run([
|
subprocess.run([
|
||||||
'uglifyjs',
|
'uglifyjs',
|
||||||
os.path.join(buildpath, name + '.js'),
|
os.path.join(buildpath, name + '.js'),
|
||||||
|
|
Loading…
Reference in New Issue