File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -205,11 +205,12 @@ class MiniCssExtractPlugin {
205
205
*/
206
206
updateCacheModule ( module ) {
207
207
if (
208
- this . content !== /** @type { CssModule } */ ( module ) . content ||
208
+ ! this . content . equals ( module . content ) ||
209
209
this . layer !== /** @type {CssModule } */ ( module ) . layer ||
210
210
this . supports !== /** @type {CssModule } */ ( module ) . supports ||
211
211
this . media !== /** @type {CssModule } */ ( module ) . media ||
212
- this . sourceMap !== /** @type {CssModule } */ ( module ) . sourceMap ||
212
+ ( Buffer . isBuffer ( this . sourceMap ) && Buffer . isBuffer ( module . sourceMap ) && ! this . sourceMap . equals ( module . sourceMap ) ) ||
213
+ this . sourceMap !== /** @type {CssModule } */ module . sourceMap ||
213
214
this . assets !== /** @type {CssModule } */ ( module ) . assets ||
214
215
this . assetsInfo !== /** @type {CssModule } */ ( module ) . assetsInfo
215
216
) {
You can’t perform that action at this time.
0 commit comments