@plaudit/webpack-extensions 2.92.2 → 2.92.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/CHANGELOG.md
CHANGED
|
@@ -60,6 +60,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
60
60
|
- Legacy PostCSS features that have been integrated into modern CSS
|
|
61
61
|
- `@extends` support
|
|
62
62
|
|
|
63
|
+
## [2.92.4] - 2026-06-10
|
|
64
|
+
### Fixed
|
|
65
|
+
- Libraries externalizing in a way that does not account for the variable potentially being undeclared
|
|
66
|
+
|
|
67
|
+
## [2.92.3] - 2026-05-27
|
|
68
|
+
### Fixed
|
|
69
|
+
- A couple more dependency snarls
|
|
70
|
+
|
|
63
71
|
## [2.92.2] - 2026-05-26
|
|
64
72
|
### Fixed
|
|
65
73
|
- The `"supports-bindings": true` flag resulting in emission of invalid PHP code
|
|
@@ -10,7 +10,6 @@ const node_path_1 = __importDefault(require("node:path"));
|
|
|
10
10
|
const shared_1 = require("../shared");
|
|
11
11
|
const browser_sync_1 = __importDefault(require("browser-sync"));
|
|
12
12
|
const http_proxy_middleware_1 = require("http-proxy-middleware");
|
|
13
|
-
const open_1 = __importDefault(require("open"));
|
|
14
13
|
class BrowserSyncPlugin {
|
|
15
14
|
static isBrowserSyncRunning = false;
|
|
16
15
|
static browserSyncPluginOptions;
|
|
@@ -47,7 +46,7 @@ class BrowserSyncPlugin {
|
|
|
47
46
|
callbacks: {
|
|
48
47
|
ready(err, bsi) {
|
|
49
48
|
// This ensures that the opened URL is actually a valid one
|
|
50
|
-
(
|
|
49
|
+
import("open").then(open => open.default(`https://${prefixes[0]?.replace(/:\d{2,4}/, "")}:${bsi.getOption("port") ?? 3000}`));
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
}, {
|
|
@@ -367,7 +367,7 @@ function commonMakeWebpackConfig(config, commonConfig, webpackConfig, externaliz
|
|
|
367
367
|
if (Array.isArray(externalize) || typeof externalize === 'string') {
|
|
368
368
|
outputLibrary = {
|
|
369
369
|
name: externalize,
|
|
370
|
-
type: "
|
|
370
|
+
type: "window"
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaudit/webpack-extensions",
|
|
3
|
-
"version": "2.92.
|
|
3
|
+
"version": "2.92.4",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@plaudit/gutenberg-api-extensions": "^2.97.1",
|
|
32
32
|
"@types/browser-sync-webpack-plugin": "^2.2.5",
|
|
33
|
-
"@types/
|
|
33
|
+
"@types/jsdom": "^28.0.3",
|
|
34
|
+
"@types/node": "^25.9.2",
|
|
34
35
|
"@types/postcss-functions": "^4.0.4",
|
|
35
36
|
"@types/tapable": "^2.3.0",
|
|
36
37
|
"@types/webpack-sources": "^3.2.3",
|
|
@@ -38,20 +39,22 @@
|
|
|
38
39
|
"webpack-bundle-analyzer": "^4.10.2"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@plaudit/php-writer": "^1.4.
|
|
42
|
+
"@plaudit/php-writer": "^1.4.5",
|
|
42
43
|
"@plaudit/postcss-color-function": "^5.1.0",
|
|
43
44
|
"@plaudit/postcss-legacy-shorthand": "^1.0.0",
|
|
44
45
|
"@plaudit/postcss-silent-extend": "^3.0.0",
|
|
45
46
|
"@plaudit/postcss-strip-units": "^3.0.0",
|
|
46
47
|
"@plaudit/postcss-variables": "^1.1.0",
|
|
47
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^6.
|
|
48
|
-
"@wordpress/scripts": "^32.
|
|
48
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^6.48.0",
|
|
49
|
+
"@wordpress/scripts": "^32.4.0",
|
|
49
50
|
"autoprefixer": "^10.5.0",
|
|
50
51
|
"browser-sync": "^3.0.4",
|
|
51
52
|
"copy-webpack-plugin": "10.2.4",
|
|
52
53
|
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
54
|
+
"cssnano": "^6.1.2",
|
|
53
55
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
54
|
-
"http-proxy-middleware": "^3.0.
|
|
56
|
+
"http-proxy-middleware": "^3.0.6",
|
|
57
|
+
"jsdom": "^29.1.1",
|
|
55
58
|
"json2php": "^0.0.12",
|
|
56
59
|
"postcss": "^8.5.15",
|
|
57
60
|
"postcss-calc": "^9.0.1",
|
|
@@ -78,6 +81,7 @@
|
|
|
78
81
|
"build": "tsc",
|
|
79
82
|
"clean": "rm -rf dist",
|
|
80
83
|
"build:clean": "pnpm run clean && pnpm run build",
|
|
81
|
-
"watch": "tsc -w"
|
|
84
|
+
"watch": "tsc -w",
|
|
85
|
+
"update": "pnpm add --config '@plaudit/pnpm-plugin-plaudit-config@*' && pnpm up"
|
|
82
86
|
}
|
|
83
87
|
}
|