
…ime’] and stage (of support) optional params for babel-loader you have to use presets.
So far there are two official presets- babel-preset-es2015 and babel-preset-react.
In my Webpack config I use presets: [‘es2015’] which is installed as npm-dependency “babel-preset-es2015”: “~6.0.12”.