File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,16 @@ class MiniCssExtractPlugin {
210210 */
211211 updateCacheModule ( module ) {
212212 if (
213- this . content !== /** @type {CssModule } */ ( module ) . content ||
213+ ! this . content . equals ( /** @type {CssModule } */ ( module ) . content ) ||
214214 this . layer !== /** @type {CssModule } */ ( module ) . layer ||
215215 this . supports !== /** @type {CssModule } */ ( module ) . supports ||
216216 this . media !== /** @type {CssModule } */ ( module ) . media ||
217- this . sourceMap !== /** @type {CssModule } */ ( module ) . sourceMap ||
217+ ( this . sourceMap
218+ ? ! this . sourceMap . equals (
219+ /** @type {Uint8Array } **/
220+ ( /** @type {CssModule } */ ( module ) . sourceMap )
221+ )
222+ : false ) ||
218223 this . assets !== /** @type {CssModule } */ ( module ) . assets ||
219224 this . assetsInfo !== /** @type {CssModule } */ ( module ) . assetsInfo
220225 ) {
You can’t perform that action at this time.
0 commit comments