@caweb/webpack 1.5.0 → 1.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/webpack",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "CAWebPublishing Webpack Configuration",
5
5
  "main": "webpack.config.js",
6
6
  "files": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "homepage": "https://github.com/CAWebPublishing/webpack#readme",
39
39
  "dependencies": {
40
- "@wordpress/scripts": "^30.18.0",
40
+ "@wordpress/scripts": "^30.19.0",
41
41
  "css-minimizer-webpack-plugin": "^7.0.2",
42
42
  "handlebars-loader": "^1.7.3",
43
43
  "html-webpack-link-type-plugin": "^1.1.1",
@@ -48,6 +48,8 @@
48
48
  "webpack-remove-empty-scripts": "^1.1.1"
49
49
  },
50
50
  "peerDependencies": {
51
+ "@caweb/a11y-webpack-plugin": ">= 1.1.0",
52
+ "@caweb/css-audit-webpack-plugin": ">= 1.1.0",
51
53
  "@caweb/html-webpack-plugin": ">= 1.8.5"
52
54
  }
53
55
  }
package/webpack.config.js CHANGED
@@ -23,8 +23,8 @@ import {HtmlWebpackLinkTypePlugin} from 'html-webpack-link-type-plugin';
23
23
  import RemoveEmptyScriptsPlugin from 'webpack-remove-empty-scripts';
24
24
 
25
25
  // import JSHintPlugin from '@caweb/jshint-webpack-plugin';
26
- // import CSSAuditPlugin from '@caweb/css-audit-webpack-plugin';
27
- // import A11yPlugin from '@caweb/a11y-webpack-plugin';
26
+ import CSSAuditPlugin from '@caweb/css-audit-webpack-plugin';
27
+ import A11yPlugin from '@caweb/a11y-webpack-plugin';
28
28
 
29
29
  /**
30
30
  * Internal dependencies
@@ -381,8 +381,8 @@ if( 'serve' === webpackCommand ){
381
381
  new HtmlWebpackSkipAssetsPlugin(),
382
382
  new HtmlWebpackLinkTypePlugin(),
383
383
  //! flagExists('--no-jshint') ? new JSHintPlugin() : false,
384
- //! flagExists('--no-audit') ? new CSSAuditPlugin() : false,
385
- //! flagExists('--no-a11y') ? new A11yPlugin() : false
384
+ ! flagExists('--no-audit') ? new CSSAuditPlugin() : false,
385
+ ! flagExists('--no-a11y') ? new A11yPlugin() : false
386
386
  )
387
387
 
388
388
  // we add the SERP (Search Engine Results Page)