@caweb/html-webpack-plugin 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/build/delta-rtl.css +6 -6
- package/build/delta.asset.php +1 -1
- package/build/delta.css +6 -6
- package/build/delta.css.map +1 -1
- package/build/delta.js +5 -5
- package/build/delta.js.map +1 -1
- package/build/eureka-rtl.css +6 -6
- package/build/eureka.asset.php +1 -1
- package/build/eureka.css +6 -6
- package/build/eureka.css.map +1 -1
- package/build/eureka.js +5 -5
- package/build/eureka.js.map +1 -1
- package/build/mono-rtl.css +6 -6
- package/build/mono.asset.php +1 -1
- package/build/mono.css +6 -6
- package/build/mono.css.map +1 -1
- package/build/mono.js +5 -5
- package/build/mono.js.map +1 -1
- package/build/oceanside-rtl.css +6 -6
- package/build/oceanside.asset.php +1 -1
- package/build/oceanside.css +6 -6
- package/build/oceanside.css.map +1 -1
- package/build/oceanside.js +5 -5
- package/build/oceanside.js.map +1 -1
- package/build/orangecounty-rtl.css +6 -6
- package/build/orangecounty.asset.php +1 -1
- package/build/orangecounty.css +6 -6
- package/build/orangecounty.css.map +1 -1
- package/build/orangecounty.js +5 -5
- package/build/orangecounty.js.map +1 -1
- package/build/pasorobles-rtl.css +6 -6
- package/build/pasorobles.asset.php +1 -1
- package/build/pasorobles.css +6 -6
- package/build/pasorobles.css.map +1 -1
- package/build/pasorobles.js +5 -5
- package/build/pasorobles.js.map +1 -1
- package/build/sacramento-rtl.css +6 -6
- package/build/sacramento.asset.php +1 -1
- package/build/sacramento.css +6 -6
- package/build/sacramento.css.map +1 -1
- package/build/sacramento.js +5 -5
- package/build/sacramento.js.map +1 -1
- package/build/santabarbara-rtl.css +6 -6
- package/build/santabarbara.asset.php +1 -1
- package/build/santabarbara.css +6 -6
- package/build/santabarbara.css.map +1 -1
- package/build/santabarbara.js +5 -5
- package/build/santabarbara.js.map +1 -1
- package/build/santacruz-rtl.css +6 -6
- package/build/santacruz.asset.php +1 -1
- package/build/santacruz.css +6 -6
- package/build/santacruz.css.map +1 -1
- package/build/santacruz.js +5 -5
- package/build/santacruz.js.map +1 -1
- package/build/shasta-rtl.css +6 -6
- package/build/shasta.asset.php +1 -1
- package/build/shasta.css +6 -6
- package/build/shasta.css.map +1 -1
- package/build/shasta.js +5 -5
- package/build/shasta.js.map +1 -1
- package/build/sierra-rtl.css +6 -6
- package/build/sierra.asset.php +1 -1
- package/build/sierra.css +6 -6
- package/build/sierra.css.map +1 -1
- package/build/sierra.js +5 -5
- package/build/sierra.js.map +1 -1
- package/build/trinity-rtl.css +6 -6
- package/build/trinity.asset.php +1 -1
- package/build/trinity.css +6 -6
- package/build/trinity.css.map +1 -1
- package/build/trinity.js +5 -5
- package/build/trinity.js.map +1 -1
- package/index.js +2 -0
- package/package.json +4 -1
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* External dependencies
|
|
5
5
|
*/
|
|
6
|
+
import fs from 'fs';
|
|
6
7
|
import path from 'path';
|
|
7
8
|
import chalk from 'chalk';
|
|
8
9
|
import deepmerge from 'deepmerge';
|
|
@@ -42,6 +43,7 @@ class CAWebHTMLPlugin extends HtmlWebpackPlugin{
|
|
|
42
43
|
|
|
43
44
|
let defaultOptions = {
|
|
44
45
|
title: path.basename( appPath ),
|
|
46
|
+
favicon: fs.existsSync(path.join(currentPath, 'sample', 'favicon.ico')) ? path.join(currentPath, 'sample', 'favicon.ico') : false,
|
|
45
47
|
inject: 'body',
|
|
46
48
|
template: path.join( currentPath, 'sample', 'default.html'),
|
|
47
49
|
scriptLoading: 'blocking',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/html-webpack-plugin",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "CAWebPublishing Sample Page and Configurations",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://github.com/CAWebPublishing/webpack/plugins/html#readme",
|
|
41
41
|
"devDependencies": {
|
|
42
|
+
"@caweb/a11y-webpack-plugin": "^1.0.5",
|
|
43
|
+
"@caweb/css-audit-webpack-plugin": "^1.0.7",
|
|
44
|
+
"@caweb/jshint-webpack-plugin": "^1.0.6",
|
|
42
45
|
"bootstrap": "^5.3.3",
|
|
43
46
|
"html-webpack-skip-assets-plugin": "^1.0.4",
|
|
44
47
|
"webpack": "^5.93.0",
|