Skip to content

Commit 16ee884

Browse files
authored
Fix issues with npm install of google-closure-compiler installing all dev packages as well. (#793)
1 parent 4282d5d commit 16ee884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emsdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ def emscripten_npm_install(tool, directory):
14111411
print('Running post-install step: npm install', closure_compiler_native)
14121412
try:
14131413
subprocess.check_output(
1414-
[npm, 'install', closure_compiler_native],
1414+
[npm, 'install', '--production', '--no-optional', closure_compiler_native],
14151415
cwd=directory, stderr=subprocess.STDOUT, env=env,
14161416
universal_newlines=True)
14171417
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)