@caweb/css-audit-webpack-plugin 2.1.1 → 2.1.3

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.
Files changed (2) hide show
  1. package/index.js +2 -4
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -126,8 +126,8 @@ class CAWebCSSAuditPlugin {
126
126
  // // });
127
127
  compiler.hooks.thisCompilation.tap(pluginName, (compilation) => {
128
128
 
129
- compiler.hooks.done.tapAsync(pluginName,
130
- (stats, callback) => {
129
+ compiler.hooks.done.tap(pluginName,
130
+ (stats) => {
131
131
  console.log('<i> \x1b[32m[webpack-dev-middleware] Running CSS Auditor...\x1b[0m');
132
132
 
133
133
  // get all .css files in the output directory and subdirectories
@@ -137,10 +137,8 @@ class CAWebCSSAuditPlugin {
137
137
  console.log(`<i> \x1b[32m[webpack-dev-middleware] CSS Auditor completed successfully. Report can be viewed at \x1b[34m ${new URL(`${auditUrl}${staticDir.publicPath}/${this.config.filename}.html`).toString()}\x1b[0m`);
138
138
  }
139
139
 
140
-
141
140
  });
142
141
  });
143
- // });
144
142
 
145
143
  }
146
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/css-audit-webpack-plugin",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "CAWebPublishing Webpack Plugin to run WordPress CSS Audit",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40,7 +40,7 @@
40
40
  "test": "echo \"Error: run tests from root\" && exit 0"
41
41
  },
42
42
  "dependencies": {
43
- "@caweb/webpack": "^1.6.6",
43
+ "@caweb/webpack": "^1.6.8",
44
44
  "chalk": "^5.6.2",
45
45
  "cross-spawn": "^7.0.6",
46
46
  "deepmerge": "^4.3.1",
@@ -49,8 +49,8 @@
49
49
  "twig": "^1.17.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@caweb/html-webpack-plugin": "^2.1.5",
53
- "webpack": "^5.105.1",
52
+ "@caweb/html-webpack-plugin": "^2.1.6",
53
+ "webpack": "^5.105.2",
54
54
  "webpack-cli": "^6.0.1"
55
55
  }
56
56
  }