diff --git a/examples/Bootstrap4/webpack.config.js b/examples/Bootstrap4/webpack.config.js index 6d0c9430..6d0e0698 100644 --- a/examples/Bootstrap4/webpack.config.js +++ b/examples/Bootstrap4/webpack.config.js @@ -5,7 +5,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); module.exports = { entry: { - App: ['babel-polyfill', './App.jsx'] + App: './App.jsx' }, output: { @@ -28,7 +28,16 @@ module.exports = { exclude: /node_modules/, loader: 'babel-loader', options: { - presets: ['env', 'react'], + presets: [ + ['env', { + targets: { + browsers: ['> 1%'] + }, + useBuiltIns: true, + debug: true + }], + 'react', + ], plugins: [require('babel-plugin-transform-class-properties')] } },