vite-plugin-millennium-skin 1.1.1 → 1.1.2

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/dist/index.js CHANGED
@@ -93,12 +93,12 @@ const U = [
93
93
  ], J = 0, V = 1, H = [
94
94
  {
95
95
  method: J,
96
- module: /^react$/g,
96
+ module: /^react(\/.*)?$/g,
97
97
  links: ["window", "opener", "SP_REACT"]
98
98
  },
99
99
  {
100
100
  method: J,
101
- module: /^react-dom$/g,
101
+ module: /^react-dom(\/.*)?$/g,
102
102
  links: ["window", "opener", "SP_REACTDOM"]
103
103
  }
104
104
  ], W = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-millennium-skin",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
@@ -4,12 +4,12 @@ export const __RUNTIME__ = 1;
4
4
  export default [
5
5
  {
6
6
  method: __DIRECT__,
7
- module: /^react$/g,
7
+ module: /^react(\/.*)?$/g,
8
8
  links: ["window", "opener", "SP_REACT"],
9
9
  },
10
10
  {
11
11
  method: __DIRECT__,
12
- module: /^react-dom$/g,
12
+ module: /^react-dom(\/.*)?$/g,
13
13
  links: ["window", "opener", "SP_REACTDOM"],
14
14
  },
15
15
  ];