diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-26 15:32:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-26 17:16:55 -0800 |
commit | ff987c084910598aa810109e5522f558c93ca222 (patch) | |
tree | 9cc8476fe598c39f56d0b470c741d47bcf86d6d2 /tools | |
parent | 32ac825694343b7ca7040e7cfb9a04af500fe0eb (diff) |
make js optimizer max chunk size customizable
Diffstat (limited to 'tools')
-rw-r--r-- | tools/js_optimizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py index d6c705cd..4821cc81 100644 --- a/tools/js_optimizer.py +++ b/tools/js_optimizer.py @@ -13,7 +13,7 @@ JS_OPTIMIZER = path_from_root('tools', 'js-optimizer.js') NUM_CHUNKS_PER_CORE = 3 MIN_CHUNK_SIZE = int(os.environ.get('EMCC_JSOPT_MIN_CHUNK_SIZE') or 512*1024) # configuring this is just for debugging purposes -MAX_CHUNK_SIZE = 5*1024*1024 +MAX_CHUNK_SIZE = int(os.environ.get('EMCC_JSOPT_MAX_CHUNK_SIZE') or 5*1024*1024) WINDOWS = sys.platform.startswith('win') |