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",
+1 -4
View File
@@ -27,7 +27,6 @@
"eslint-scope": "3.7.1"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"canvas-fit": "^1.5.0",
"d3": "^4.10.0",
"font-color-contrast": "^1.0.3",
@@ -38,7 +37,6 @@
"mouse-position": "^2.0.1",
"mouse-pressed": "^1.0.0",
"orbit-camera": "^1.0.0",
"promise": "^7.1.1",
"query-string": "^6.1.0",
"react": "^16.4.2",
"react-autocomplete": "^1.7.2",
@@ -51,8 +49,7 @@
"redux-thunk": "^2.2.0",
"regl": "^1.3.1",
"scroll-speed": "^1.0.0",
"urijs": "^1.19.0",
"whatwg-fetch": "^2.0.3"
"urijs": "^1.19.0"
},
"devDependencies": {
"autoprefixer": "^9.1.1",