File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,16 @@ class MiniCssExtractPlugin {
210
210
*/
211
211
updateCacheModule ( module ) {
212
212
if (
213
- this . content !== /** @type {CssModule } */ ( module ) . content ||
213
+ ! this . content . equals ( /** @type {CssModule } */ ( module ) . content ) ||
214
214
this . layer !== /** @type {CssModule } */ ( module ) . layer ||
215
215
this . supports !== /** @type {CssModule } */ ( module ) . supports ||
216
216
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 ) ||
218
223
this . assets !== /** @type {CssModule } */ ( module ) . assets ||
219
224
this . assetsInfo !== /** @type {CssModule } */ ( module ) . assetsInfo
220
225
) {
You can’t perform that action at this time.
0 commit comments