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) : '')