@caweb/webpack 1.2.1 → 1.2.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/webpack",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "CAWebPublishing Webpack Configuration",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,7 +40,7 @@
40
40
  "homepage": "https://github.com/CAWebPublishing/webpack#readme",
41
41
  "dependencies": {
42
42
  "@caweb/a11y-webpack-plugin": "^1.0.5",
43
- "@caweb/css-audit-webpack-plugin": "^1.0.5",
43
+ "@caweb/css-audit-webpack-plugin": "^1.0.6",
44
44
  "@caweb/html-webpack-plugin": "^1.2.1",
45
45
  "@caweb/jshint-webpack-plugin": "^1.0.6",
46
46
  "@wordpress/scripts": "^28.4.0",
package/webpack.config.js CHANGED
@@ -37,7 +37,13 @@ webpackConfig.plugins.push(
37
37
  template,
38
38
  templateParameters: {
39
39
  scheme
40
- }
40
+ },
41
+ skipAssets: [
42
+ /.*-rtl.css/, // we skip the Right-to-Left Styles
43
+ /css-audit.*/, // we skip the CSSAudit Files
44
+ /a11y.*/, // we skip the A11y Files
45
+ /jshint.*/, // we skip the JSHint Files
46
+ ]
41
47
  }),
42
48
  new HtmlWebpackSkipAssetsPlugin(),
43
49
  new JSHintPlugin(),