Skip to content

Commit

Permalink
add babel-polyfill to bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
sghall committed Apr 12, 2017
1 parent f463af3 commit 8e4130c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = Object.assign({}, webpackBaseConfig, {
context: path.resolve(__dirname),
entry: {
main: [
'babel-polyfill', // polyfill for lesser browsers
'eventsource-polyfill', // hot reloading in IE
'react-hot-loader/patch',
'webpack-dev-server/client?http://0.0.0.0:3000',
Expand Down
1 change: 1 addition & 0 deletions docs/webpack.prd.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = Object.assign({}, webpackBaseConfig, {
context: path.resolve(__dirname),
entry: {
main: [
'babel-polyfill', // polyfill for lesser browsers
'./src/index',
],
},
Expand Down

0 comments on commit 8e4130c

Please sign in to comment.