remove polyfills

This commit is contained in:
bkmartinjr
2018-08-13 17:07:53 -07:00
parent 831ef283a0
commit de5a6b1d29
4 changed files with 2 additions and 12 deletions
@@ -1,6 +0,0 @@
if (typeof Promise === "undefined") {
require("promise/lib/rejection-tracking").enable();
window.Promise = require("promise/lib/es6-extensions.js");
}
require("whatwg-fetch");
@@ -13,7 +13,6 @@ module.exports = {
entry: [
"webpack-hot-middleware/client?quiet=true&noInfo=true",
require.resolve("react-hot-loader/patch"),
"babel-polyfill",
"./src/index"
],
output: {
@@ -17,7 +17,7 @@ module.exports = {
bail: true,
cache: false,
devtool: "cheap-source-map",
entry: ["babel-polyfill", "./src/index"],
entry: ["./src/index"],
output: {
path: path.resolve("build"),
filename: "static/js/[name].[chunkhash:8].js",