@plaudit/webpack-extensions 2.52.0 → 2.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -601,6 +601,13 @@ function processIndividualWebpackConfig(config, webpackConfig, sources, sharedCa
601
601
  currentVariables = require(variablesFilePath);
602
602
  }
603
603
  return entry();
604
+ },
605
+ performance: {
606
+ ...webpackConfig.performance,
607
+ assetFilter(assetFilename) {
608
+ // We don't want to warn about the sizes of incompressible assets
609
+ return !/\.(map|svg|png|jpe?g|gif)$/i.test(assetFilename);
610
+ }
604
611
  }
605
612
  };
606
613
  }).filter(cfg => cfg !== undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.52.0",
3
+ "version": "2.52.1",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "/build"