mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 10:18:13 +08:00
remove polyfills
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user