By default, Babel 6.x requires you to enable an explicit set of transformations. The standard es2015
preset converts ES6 to ES5, however IE8 is not ES5-compatible. In this case, if you look at the plugins list, you will see
These will convert your properties to be compatible with IE8. Generally in Babel 6.x you’d do this by passing those names as part of your plugins
array, alongside the presets
array and install the transforms via
npm install --save-dev babel-plugin-transform-es3-member-expression-literals babel-plugin-transform-es3-property-literals