@plaudit/webpack-extensions 2.6.1 → 2.7.0

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.
@@ -9,6 +9,7 @@ interface PlauditWordpressWebpackConfig {
9
9
  variables?: Record<string, any>;
10
10
  verbose?: boolean;
11
11
  src: string[] | Record<string, string | AdvancedOutputConfig>;
12
+ stats?: Configuration['stats'];
12
13
  }
13
14
  declare const _default: (config: PlauditWordpressWebpackConfig, webpackConfig?: Configuration) => Configuration[];
14
15
  export = _default;
@@ -302,6 +302,7 @@ module.exports = function (config, webpackConfig = require("@wordpress/scripts/c
302
302
  ...webpackConfig.output,
303
303
  path: joinPossiblyAbsolutePaths(process.cwd(), srcIsDirectory ? destPath : node_path_1.default.dirname(destPath))
304
304
  },
305
+ stats: config.stats ?? 'errors-warnings',
305
306
  plugins: copyFiles
306
307
  ? plugins.map(plugin => plugin.constructor.name === 'CopyPlugin'
307
308
  ? new copy_webpack_plugin_1.default({ patterns: [{ from: standaloneBlocks ? '**/(block.json|*.(php|twig|svg))' : '**/(block.json|*.(asset\.php|svg))',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "scripts": {
5
5
  "prepublishOnly": "rm -rf build && mkdir build && tsc",
6
6
  "build": "tsc",
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/browser-sync-webpack-plugin": "^2.2.2",
17
- "@types/node": "^20.3.2",
18
- "@types/tapable": "^2.2.3",
19
- "@types/webpack": "^5.28.1",
17
+ "@types/node": "^20.5.3",
18
+ "@types/tapable": "^2.2.4",
19
+ "@types/webpack": "^5.28.2",
20
20
  "@types/webpack-sources": "^3.2.0",
21
21
  "postcss-load-config": "^4.0.1",
22
22
  "postcss-loader": "^7.3.3",
@@ -28,18 +28,19 @@
28
28
  "@plaudit/postcss-silent-extend": "^3.0.0",
29
29
  "@plaudit/postcss-strip-units": "^3.0.0",
30
30
  "@plaudit/postcss-variables": "^1.0.0",
31
- "@wordpress/scripts": "^26.7.0",
32
- "autoprefixer": "^10.4.14",
31
+ "@wordpress/scripts": "^26.11.0",
32
+ "autoprefixer": "^10.4.15",
33
33
  "browser-sync": "^2.29.3",
34
34
  "browser-sync-webpack-plugin": "^2.3.0",
35
35
  "clean-webpack-plugin": "^4.0.0",
36
36
  "copy-webpack-plugin": "^11.0.0",
37
37
  "cssnano": "^6.0.1",
38
- "eslint": "^8.43.0",
39
- "eslint-plugin-jsdoc": "^43.1.1",
38
+ "eslint": "^8.47.0",
39
+ "eslint-plugin-jsdoc": "^46.5.0",
40
40
  "fork-ts-checker-webpack-plugin": "^8.0.0",
41
- "postcss": "^8.4.25",
41
+ "postcss": "^8.4.28",
42
42
  "postcss-calc": "^9.0.1",
43
+ "postcss-discard-comments": "^6.0.0",
43
44
  "postcss-fallback": "^0.1.0",
44
45
  "postcss-functions": "^4.0.2",
45
46
  "postcss-import": "^15.1.0",
@@ -57,10 +58,7 @@
57
58
  "postcss-url": "^10.1.3",
58
59
  "react": "^18.2.0",
59
60
  "react-dom": "^18.2.0",
60
- "webpack": "^5.88.1",
61
+ "webpack": "^5.88.2",
61
62
  "webpack-remove-empty-scripts": "^1.0.3"
62
- },
63
- "resolutions": {
64
- "eslint-plugin-jsdoc": "^43.1.1"
65
63
  }
66
64
  }