mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 12:18:12 +08:00
switch to babel-polyfill
This commit is contained in:
@@ -13,8 +13,8 @@ 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"),
|
||||||
require.resolve("../polyfills/polyfills"),
|
"babel-polyfill",
|
||||||
path.join(src, "index")
|
"./src/index"
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve("build"),
|
path: path.resolve("build"),
|
||||||
|
|||||||
@@ -17,12 +17,10 @@ module.exports = {
|
|||||||
bail: true,
|
bail: true,
|
||||||
cache: false,
|
cache: false,
|
||||||
devtool: "cheap-source-map",
|
devtool: "cheap-source-map",
|
||||||
// XXX todo: why are we using our own polyfill and not babel-polyfill?
|
entry: ["babel-polyfill", "./src/index"],
|
||||||
entry: [require.resolve("../polyfills/polyfills"), path.join(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",
|
||||||
// chunkFilename: "static/js/[name].[chunkhash:8].chunk.js",
|
|
||||||
publicPath
|
publicPath
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
|
|||||||
Reference in New Issue
Block a user