@caweb/webpack 1.5.3 → 1.5.4

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.3",
3
+ "version": "1.5.4",
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.19.0",
40
+ "@wordpress/scripts": "^30.20.0",
41
41
  "css-minimizer-webpack-plugin": "^7.0.2",
42
42
  "handlebars-loader": "^1.7.3",
43
43
  "html-format": "^1.1.7",
package/webpack.config.js CHANGED
@@ -22,7 +22,7 @@ import {HtmlWebpackSkipAssetsPlugin} from 'html-webpack-skip-assets-plugin';
22
22
  import {HtmlWebpackLinkTypePlugin} from 'html-webpack-link-type-plugin';
23
23
  import RemoveEmptyScriptsPlugin from 'webpack-remove-empty-scripts';
24
24
 
25
- // import JSHintPlugin from '@caweb/jshint-webpack-plugin';
25
+ import JSHintPlugin from '@caweb/jshint-webpack-plugin';
26
26
  import CSSAuditPlugin from '@caweb/css-audit-webpack-plugin';
27
27
  import A11yPlugin from '@caweb/a11y-webpack-plugin';
28
28
 
@@ -380,7 +380,7 @@ if( 'serve' === webpackCommand ){
380
380
  }),
381
381
  new HtmlWebpackSkipAssetsPlugin(),
382
382
  new HtmlWebpackLinkTypePlugin(),
383
- //! flagExists('--no-jshint') ? new JSHintPlugin() : false,
383
+ ! flagExists('--no-jshint') ? new JSHintPlugin() : false,
384
384
  ! flagExists('--no-audit') ? new CSSAuditPlugin() : false,
385
385
  ! flagExists('--no-a11y') ? new A11yPlugin() : false
386
386
  )