mirror of https://github.com/zulip/zulip.git
webpack: Remove unused hmr option for mini-css-extract-plugin.
This option was removed in mini-css-extract-plugin@1.0.0. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
362d4a6a8d
commit
710bb4357e
|
@ -92,12 +92,7 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
|||
test: /\.css$/,
|
||||
exclude: path.resolve(__dirname, "static/styles"),
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
hmr: !production,
|
||||
},
|
||||
},
|
||||
MiniCssExtractPlugin.loader,
|
||||
cacheLoader,
|
||||
{
|
||||
loader: "css-loader",
|
||||
|
@ -112,12 +107,7 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
|||
test: /\.css$/,
|
||||
include: path.resolve(__dirname, "static/styles"),
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
hmr: !production,
|
||||
},
|
||||
},
|
||||
MiniCssExtractPlugin.loader,
|
||||
cacheLoader,
|
||||
{
|
||||
loader: "css-loader",
|
||||
|
|
Loading…
Reference in New Issue