add babel polyfill to webpack
This commit is contained in:
parent
99106e2bb8
commit
bb33544881
2 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@ require('dotenv').config();
|
|||
|
||||
module.exports = {
|
||||
devtool: 'cheap-module-eval-source-map',
|
||||
entry: ['webpack-hot-middleware/client',
|
||||
entry: ['babel-polyfill', 'webpack-hot-middleware/client',
|
||||
'./client/index.js',
|
||||
],
|
||||
output: {
|
||||
|
|
|
@ -10,6 +10,7 @@ module.exports = {
|
|||
devtool: 'hidden-source-map',
|
||||
|
||||
entry: [
|
||||
'babel-polyfill',
|
||||
'./client/index.js'
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in a new issue