mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 02:28: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: [
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user