Closed nstepien closed 8 years ago
oh wow... very strange!
cc @DanielRosenwasser
Did I misspeak? Every toolchain affected got a slight decrease in filesize, which is good.
oh sorry i misread that :)
go up in a rank I read as causing an increase to the file size :wink:
You caught us, we've always been optimized for that mode. :wink:
:+1: cool stuff guys!
The only difference between the bundles is the way in which default imports are handled. It looks like Browserify makes output safe for ES3 runtimes by switching default property accesses from o.default
to o["default"]
and --screw-ie8
undoes that work. ¯_(ツ)_/¯
I'm sure this is appropriate for most projects.
Plot twist: --screw-ie8 made typescript go up a rank in file size! Coincidence?