diff --git a/lib/common/options.mjs b/lib/common/options.mjs index de4b5aa513..794b6d647f 100644 --- a/lib/common/options.mjs +++ b/lib/common/options.mjs @@ -174,5 +174,9 @@ Options.from = function (_options) { options.generate.fallback = '404.html' } + // TODO: remove when mini-css-extract-plugin supports HMR + if (options.dev) { + options.build.extractCSS = false + } return options }