@plaudit/webpack-extensions 3.9.2 → 3.9.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
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.9.4] - 2026-06-10
|
|
9
|
+
### Fixed
|
|
10
|
+
- Libraries externalizing in a way that does not account for the variable potentially being undeclared
|
|
11
|
+
- This comes from version `2.92.4`
|
|
12
|
+
|
|
13
|
+
## [3.9.3] - 2026-05-27
|
|
14
|
+
### Fixed
|
|
15
|
+
- A couple more dependency snarls
|
|
16
|
+
- This comes from version `2.92.3`
|
|
17
|
+
|
|
8
18
|
## [3.9.2] - 2026-05-26
|
|
9
19
|
### Fixed
|
|
10
20
|
- The `"supports-bindings": true` flag resulting in emission of invalid PHP code
|
|
@@ -139,6 +149,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
139
149
|
- Legacy PostCSS features that have been integrated into modern CSS
|
|
140
150
|
- `@extends` support
|
|
141
151
|
|
|
152
|
+
## [2.92.4] - 2026-06-10
|
|
153
|
+
### Fixed
|
|
154
|
+
- Libraries externalizing in a way that does not account for the variable potentially being undeclared
|
|
155
|
+
|
|
156
|
+
## [2.92.3] - 2026-05-27
|
|
157
|
+
### Fixed
|
|
158
|
+
- A couple more dependency snarls
|
|
159
|
+
|
|
142
160
|
## [2.92.2] - 2026-05-26
|
|
143
161
|
### Fixed
|
|
144
162
|
- 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": "3.9.
|
|
3
|
+
"version": "3.9.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/postcss-import": "^14.0.3",
|
|
36
37
|
"@types/tapable": "^2.3.0",
|
|
@@ -39,19 +40,20 @@
|
|
|
39
40
|
"webpack-bundle-analyzer": "^5.3.0"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@plaudit/php-writer": "^1.4.
|
|
43
|
+
"@plaudit/php-writer": "^1.4.5",
|
|
43
44
|
"@plaudit/postcss-color-function": "^5.1.0",
|
|
44
45
|
"@plaudit/postcss-strip-units": "^3.0.0",
|
|
45
46
|
"@plaudit/postcss-variables": "^2.0.1",
|
|
46
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^6.
|
|
47
|
-
"@wordpress/scripts": "^32.
|
|
47
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^6.48.0",
|
|
48
|
+
"@wordpress/scripts": "^32.4.0",
|
|
48
49
|
"autoprefixer": "^10.5.0",
|
|
49
50
|
"browser-sync": "^3.0.4",
|
|
50
51
|
"copy-webpack-plugin": "10.2.4",
|
|
51
52
|
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
52
53
|
"cssnano": "^7.1.9",
|
|
53
54
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
54
|
-
"http-proxy-middleware": "^3.0.
|
|
55
|
+
"http-proxy-middleware": "^3.0.6",
|
|
56
|
+
"jsdom": "^29.1.1",
|
|
55
57
|
"json2php": "^0.0.12",
|
|
56
58
|
"postcss": "^8.5.15",
|
|
57
59
|
"postcss-calc": "^10.1.1",
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
"build": "tsc",
|
|
75
77
|
"clean": "rm -rf dist",
|
|
76
78
|
"build:clean": "pnpm run clean && pnpm run build",
|
|
77
|
-
"watch": "tsc -w"
|
|
79
|
+
"watch": "tsc -w",
|
|
80
|
+
"update": "pnpm add --config '@plaudit/pnpm-plugin-plaudit-config@*' && pnpm up"
|
|
78
81
|
}
|
|
79
82
|
}
|