Rich-Harris/butternut

blocks are skipped

kzc opened this issue · 2 comments

kzc commented
$ bin/squash -v
Butternut version 0.4.6

$ echo 'foo(); { bar(); } baz();' | bin/squash
foo(),baz()

$ echo 'foo(); { bar(); } baz();' | node_modules/uglify-es/bin/uglifyjs -mc
foo(),bar(),baz();

Found while looking at the vue.js results:

vue.js (253 kB) without sourcemap:
  ✓ babili             :   104 kB /  37.3 kB in 7.8s
  ✓ butternut          :  90.4 kB /  33.2 kB in 582ms
  ✓ closure            :  96.4 kB /  36.1 kB in 9.3s
  ✓ uglify             :  95.3 kB /  35.5 kB in 1.1s
  ✓ uglify-mangle-only :   104 kB /  36.5 kB in 360ms
  ✓ uglify-es          :  95.3 kB /  35.5 kB in 1.4s

regressed in 67a7d47

kzc commented

Closing issue as project doesn't appear to be maintained.