clean up debug logging of js optimizer passes
This commit is contained in:
Родитель
8b676449c4
Коммит
8f624300ab
2
emcc
2
emcc
|
@ -1412,7 +1412,7 @@ try:
|
||||||
passes += ['symbolMap='+target+'.symbols']
|
passes += ['symbolMap='+target+'.symbols']
|
||||||
if minify_whitespace and 'last' in passes:
|
if minify_whitespace and 'last' in passes:
|
||||||
passes += ['minifyWhitespace']
|
passes += ['minifyWhitespace']
|
||||||
logging.debug('applying js optimization passes: %s', passes)
|
logging.debug('applying js optimization passes: %s', ' '.join(passes))
|
||||||
final = shared.Building.js_optimizer(final, passes, jcache, debug_level >= 4, js_optimizer_extra_info, just_split=just_split, just_concat=just_concat)
|
final = shared.Building.js_optimizer(final, passes, jcache, debug_level >= 4, js_optimizer_extra_info, just_split=just_split, just_concat=just_concat)
|
||||||
js_transform_tempfiles.append(final)
|
js_transform_tempfiles.append(final)
|
||||||
if DEBUG: save_intermediate(title, suffix='js' if 'emitJSON' not in passes else 'json')
|
if DEBUG: save_intermediate(title, suffix='js' if 'emitJSON' not in passes else 'json')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче