Skip to content

Commit

Permalink
for #950, include core-js modules in webpack config for IE support wi…
Browse files Browse the repository at this point in the history
…th babel/plugin-syntax-dynamic-import
  • Loading branch information
catarak committed May 22, 2019
1 parent b7909fb commit b013616
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack/config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ module.exports = [{
devtool: 'cheap-module-eval-source-map',
entry: {
app: [
'core-js/modules/es6.promise',
'core-js/modules/es6.array.iterator',
'webpack-hot-middleware/client',
'react-hot-loader/patch',
'./client/index.jsx',
Expand Down
2 changes: 2 additions & 0 deletions webpack/config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = [{
entry: {
app: [
'@babel/polyfill',
'core-js/modules/es6.promise',
'core-js/modules/es6.array.iterator',
path.resolve(__dirname, '../client/index.jsx')
],
vendor: [
Expand Down

0 comments on commit b013616

Please sign in to comment.