add babel polyfill to webpack

This commit is contained in:
catarak 2016-07-22 16:45:16 -04:00
parent 99106e2bb8
commit bb33544881
2 changed files with 2 additions and 1 deletions

View File

@ -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: {

View File

@ -10,6 +10,7 @@ module.exports = {
devtool: 'hidden-source-map',
entry: [
'babel-polyfill',
'./client/index.js'
],