Skip to content

Commit

Permalink
Fix Bootstrap4 example polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrotoff committed May 17, 2018
1 parent 57a19ac commit 6999e17
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions examples/Bootstrap4/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');

module.exports = {
entry: {
App: ['babel-polyfill', './App.jsx']
App: './App.jsx'
},

output: {
Expand All @@ -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')]
}
},
Expand Down

0 comments on commit 6999e17

Please sign in to comment.