mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
remove webpack hot load, react hot load and react redbox (#326)
Fixes #176 and #290
This commit is contained in:
@@ -10,11 +10,7 @@ const nodeModules = path.resolve("node_modules");
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
devtool: "eval",
|
||||
entry: [
|
||||
"webpack-hot-middleware/client?quiet=true&noInfo=true",
|
||||
require.resolve("react-hot-loader/patch"),
|
||||
"./src/index"
|
||||
],
|
||||
entry: ["./src/index"],
|
||||
output: {
|
||||
path: path.resolve("build"),
|
||||
pathinfo: true,
|
||||
@@ -47,9 +43,7 @@ module.exports = {
|
||||
{
|
||||
loader: "postcss-loader",
|
||||
options: {
|
||||
plugins: function() {
|
||||
return [];
|
||||
}
|
||||
plugins: () => []
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -75,8 +69,6 @@ module.exports = {
|
||||
template: path.resolve("index.html"),
|
||||
favicon: path.resolve("favicon.png")
|
||||
}),
|
||||
// Note: only CSS is currently hot reloaded
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.NoEmitOnErrorsPlugin()
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user