diff --git a/package.json b/package.json index b6b08ad97..0b2501767 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-react-remove-prop-types": "^0.4.10", + "babel-polyfill": "^6.26.0", "babel-preset-airbnb": "^2.4.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", diff --git a/webpack.docs.config.js b/webpack.docs.config.js index c80db3cd7..795734150 100644 --- a/webpack.docs.config.js +++ b/webpack.docs.config.js @@ -3,7 +3,7 @@ var webpack = require("webpack"); var ExtractTextPlugin = require("extract-text-webpack-plugin"); module.exports = { - entry: ["./docs-site/src/boot"], + entry: ["babel-polyfill", "./docs-site/src/boot"], output: { path: path.resolve("./docs-site/"), filename: "bundle.js",