mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 01:18:12 +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: [
|
entry: [
|
||||||
"webpack-hot-middleware/client?quiet=true&noInfo=true",
|
"webpack-hot-middleware/client?quiet=true&noInfo=true",
|
||||||
require.resolve("react-hot-loader/patch"),
|
require.resolve("react-hot-loader/patch"),
|
||||||
"babel-polyfill",
|
|
||||||
"./src/index"
|
"./src/index"
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
bail: true,
|
bail: true,
|
||||||
cache: false,
|
cache: false,
|
||||||
devtool: "cheap-source-map",
|
devtool: "cheap-source-map",
|
||||||
entry: ["babel-polyfill", "./src/index"],
|
entry: ["./src/index"],
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve("build"),
|
path: path.resolve("build"),
|
||||||
filename: "static/js/[name].[chunkhash:8].js",
|
filename: "static/js/[name].[chunkhash:8].js",
|
||||||
|
|||||||
+1
-4
@@ -27,7 +27,6 @@
|
|||||||
"eslint-scope": "3.7.1"
|
"eslint-scope": "3.7.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-polyfill": "^6.26.0",
|
|
||||||
"canvas-fit": "^1.5.0",
|
"canvas-fit": "^1.5.0",
|
||||||
"d3": "^4.10.0",
|
"d3": "^4.10.0",
|
||||||
"font-color-contrast": "^1.0.3",
|
"font-color-contrast": "^1.0.3",
|
||||||
@@ -38,7 +37,6 @@
|
|||||||
"mouse-position": "^2.0.1",
|
"mouse-position": "^2.0.1",
|
||||||
"mouse-pressed": "^1.0.0",
|
"mouse-pressed": "^1.0.0",
|
||||||
"orbit-camera": "^1.0.0",
|
"orbit-camera": "^1.0.0",
|
||||||
"promise": "^7.1.1",
|
|
||||||
"query-string": "^6.1.0",
|
"query-string": "^6.1.0",
|
||||||
"react": "^16.4.2",
|
"react": "^16.4.2",
|
||||||
"react-autocomplete": "^1.7.2",
|
"react-autocomplete": "^1.7.2",
|
||||||
@@ -51,8 +49,7 @@
|
|||||||
"redux-thunk": "^2.2.0",
|
"redux-thunk": "^2.2.0",
|
||||||
"regl": "^1.3.1",
|
"regl": "^1.3.1",
|
||||||
"scroll-speed": "^1.0.0",
|
"scroll-speed": "^1.0.0",
|
||||||
"urijs": "^1.19.0",
|
"urijs": "^1.19.0"
|
||||||
"whatwg-fetch": "^2.0.3"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^9.1.1",
|
"autoprefixer": "^9.1.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user