mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 14:28:11 +08:00
switch to babel-polyfill
This commit is contained in:
@@ -13,8 +13,8 @@ module.exports = {
|
||||
entry: [
|
||||
"webpack-hot-middleware/client?quiet=true&noInfo=true",
|
||||
require.resolve("react-hot-loader/patch"),
|
||||
require.resolve("../polyfills/polyfills"),
|
||||
path.join(src, "index")
|
||||
"babel-polyfill",
|
||||
"./src/index"
|
||||
],
|
||||
output: {
|
||||
path: path.resolve("build"),
|
||||
|
||||
@@ -17,12 +17,10 @@ module.exports = {
|
||||
bail: true,
|
||||
cache: false,
|
||||
devtool: "cheap-source-map",
|
||||
// XXX todo: why are we using our own polyfill and not babel-polyfill?
|
||||
entry: [require.resolve("../polyfills/polyfills"), path.join(src, "index")],
|
||||
entry: ["babel-polyfill", "./src/index"],
|
||||
output: {
|
||||
path: path.resolve("build"),
|
||||
filename: "static/js/[name].[chunkhash:8].js",
|
||||
// chunkFilename: "static/js/[name].[chunkhash:8].chunk.js",
|
||||
publicPath
|
||||
},
|
||||
module: {
|
||||
|
||||
Reference in New Issue
Block a user