diff --git a/examples/redux/package.json b/examples/redux/package.json index fc18217..bfd0ab3 100644 --- a/examples/redux/package.json +++ b/examples/redux/package.json @@ -23,6 +23,7 @@ "babel-core": "6.8.0", "babel-loader": "6.2.4", "babel-plugin-transform-decorators-legacy": "1.3.4", + "babel-polyfill": "6.9.0", "babel-preset-es2015": "6.6.0", "babel-preset-react": "6.5.0", "babel-preset-stage-1": "6.5.0", diff --git a/examples/redux/webpack.config.js b/examples/redux/webpack.config.js index e6d138c..19637b4 100644 --- a/examples/redux/webpack.config.js +++ b/examples/redux/webpack.config.js @@ -5,7 +5,7 @@ module.exports = { devtool: 'source-map', - entry: path.join(__dirname, 'client.js'), + entry: ['babel-polyfill', path.join(__dirname, 'client.js')], output: { path: path.join(__dirname, 'build'), diff --git a/examples/simple/package.json b/examples/simple/package.json index 76318c1..5ed4a5b 100644 --- a/examples/simple/package.json +++ b/examples/simple/package.json @@ -21,6 +21,7 @@ "babel-core": "6.8.0", "babel-loader": "6.2.4", "babel-plugin-transform-decorators-legacy": "1.3.4", + "babel-polyfill": "6.9.0", "babel-preset-es2015": "6.6.0", "babel-preset-react": "6.5.0", "babel-preset-stage-1": "6.5.0", diff --git a/examples/simple/webpack.config.js b/examples/simple/webpack.config.js index e6d138c..19637b4 100644 --- a/examples/simple/webpack.config.js +++ b/examples/simple/webpack.config.js @@ -5,7 +5,7 @@ module.exports = { devtool: 'source-map', - entry: path.join(__dirname, 'client.js'), + entry: ['babel-polyfill', path.join(__dirname, 'client.js')], output: { path: path.join(__dirname, 'build'),