@caweb/webpack 1.2.10 → 1.2.12

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.10",
3
+ "version": "1.2.12",
4
4
  "description": "CAWebPublishing Webpack Configuration",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -41,9 +41,10 @@
41
41
  "dependencies": {
42
42
  "@caweb/a11y-webpack-plugin": "^1.0.8",
43
43
  "@caweb/css-audit-webpack-plugin": "^1.0.11",
44
- "@caweb/html-webpack-plugin": "^1.4.0",
44
+ "@caweb/html-webpack-plugin": "^1.4.3",
45
45
  "@caweb/jshint-webpack-plugin": "^1.0.8",
46
- "@wordpress/scripts": "^28.6.0",
46
+ "@wordpress/scripts": "^29.0.0",
47
+ "html-webpack-link-type-plugin": "^1.1.1",
47
48
  "html-webpack-skip-assets-plugin": "^1.0.4"
48
49
  }
49
50
  }
package/webpack.config.js CHANGED
@@ -16,6 +16,7 @@ import CSSAuditPlugin from '@caweb/css-audit-webpack-plugin';
16
16
  import A11yPlugin from '@caweb/a11y-webpack-plugin';
17
17
 
18
18
  import {HtmlWebpackSkipAssetsPlugin} from 'html-webpack-skip-assets-plugin';
19
+ import {HtmlWebpackLinkTypePlugin} from 'html-webpack-link-type-plugin';
19
20
 
20
21
  const webpackCommand = 'build' === process.argv[2] ? 'build' : 'serve' ;
21
22
 
@@ -51,6 +52,7 @@ if( 'serve' === webpackCommand ){
51
52
  ]
52
53
  }),
53
54
  new HtmlWebpackSkipAssetsPlugin(),
55
+ new HtmlWebpackLinkTypePlugin(),
54
56
  new JSHintPlugin(),
55
57
  new CSSAuditPlugin(),
56
58
  new A11yPlugin()