Closed anthony-redFox closed 6 years ago
@Yomguithereal you right, I missed "loose" option. fixed
And I don't remember correctly but won't the env
preset compile for node's version hence making the build unusable on currently supported browsers?
By default uses babel-preset-es2015, babel-preset-es2016, and babel-preset-es2017 together https://babeljs.io/docs/plugins/preset-env/
It is support node and browsers and currently we also transpile code to ES5 version.
@Yomguithereal Env
just encapsulate babel-preset-es2015, babel-preset-es2016, and babel-preset-es2017 depend of version node or browsers. Which browser version are you care we will not support?
ES2015 should be the only thing to transpile because I don't use later features. Built version should support at least IE9 if I remember correctly.
@Yomguithereal done. Replaced on babel-preset-es2015 package.
Thanks @anthony-redFox. Merging now.
Hello @anthony-redFox. Why did you drop the loose transpilation? It was there for bundle size & performance.