From 361e81d7e36e21d5265cf8779481734838c068fa Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Fri, 21 Aug 2020 17:10:06 +0200 Subject: [PATCH] Add context parameter --- .../webpack/plugins/mini-css-extract-plugin/src/CssModule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js index 462d76aeb4e2c..45ab2a1f0c78f 100644 --- a/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js +++ b/packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js @@ -53,8 +53,8 @@ class CssModule extends webpack.Module { callback() } - updateHash(hash) { - super.updateHash(hash) + updateHash(hash, context) { + super.updateHash(hash, context) hash.update(this.content) hash.update(this.media || '') hash.update(this.sourceMap ? JSON.stringify(this.sourceMap) : '')