@wordpress/dependency-extraction-webpack-plugin 6.44.0 → 6.45.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.
- package/lib/util.js +7 -2
- package/package.json +2 -2
package/lib/util.js
CHANGED
|
@@ -3,12 +3,13 @@ const BUNDLED_PACKAGES = [
|
|
|
3
3
|
'@wordpress/admin-ui',
|
|
4
4
|
'@wordpress/dataviews',
|
|
5
5
|
'@wordpress/dataviews/wp',
|
|
6
|
+
'@wordpress/fields',
|
|
7
|
+
'@wordpress/grid',
|
|
6
8
|
'@wordpress/icons',
|
|
7
9
|
'@wordpress/interface',
|
|
10
|
+
'@wordpress/ui',
|
|
8
11
|
'@wordpress/undo-manager',
|
|
9
|
-
'@wordpress/fields',
|
|
10
12
|
'@wordpress/views',
|
|
11
|
-
'@wordpress/ui',
|
|
12
13
|
];
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -41,6 +42,7 @@ function defaultRequestToExternal( request ) {
|
|
|
41
42
|
return 'React';
|
|
42
43
|
|
|
43
44
|
case 'react-dom':
|
|
45
|
+
case 'react-dom/client':
|
|
44
46
|
return 'ReactDOM';
|
|
45
47
|
|
|
46
48
|
case 'react/jsx-runtime':
|
|
@@ -123,6 +125,9 @@ function defaultRequestToHandle( request ) {
|
|
|
123
125
|
case 'lodash-es':
|
|
124
126
|
return 'lodash';
|
|
125
127
|
|
|
128
|
+
case 'react-dom/client':
|
|
129
|
+
return 'react-dom';
|
|
130
|
+
|
|
126
131
|
case 'react/jsx-runtime':
|
|
127
132
|
return 'react-jsx-runtime';
|
|
128
133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/dependency-extraction-webpack-plugin",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.45.0",
|
|
4
4
|
"description": "Extract WordPress script dependencies from webpack bundles.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "8c229eaed0e88c9827e2da3d73a78f9ddd77714b"
|
|
57
57
|
}
|