samccone / The-cost-of-transpiling-es2015-in-2016

Investigating the overhead cost of compiled es2015
1.34k stars 37 forks source link

Add babel => es5 => rollup #1

Closed samccone closed 8 years ago

samccone commented 8 years ago

babel needs to be set to loose mode

samccone commented 8 years ago

done

samccone commented 8 years ago

https://github.com/samccone/es6-es3-showdown/commit/337ecbce2cbafd44681b305a271de2bd82b9d979

hzoo commented 8 years ago

Doesn't look like the loose versions of plugins are being used, just the es2015 preset?

Right now we don't have a way to pass options down until https://github.com/babel/babel/pull/3331 so it'd have to be one by one or use a preset someone made

samccone commented 8 years ago

PRs welcome if you think it will improve the metrics :)

hzoo commented 8 years ago

I'm not sure so we'll have to try, although once something like https://github.com/babel/babel/pull/3331 is in, the PR will be easier anyway :smile: