@modern-js/runtime 2.67.7 → 2.67.8

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.
@@ -144,7 +144,7 @@ const runtimePlugin = (params) => ({
144
144
  chain.plugin("ignore-plugin").use(webpack.IgnorePlugin, [
145
145
  {
146
146
  resourceRegExp: /^react-dom\/client$/,
147
- contextRegExp: /./
147
+ contextRegExp: /@modern-js\/runtime/
148
148
  }
149
149
  ]);
150
150
  }
@@ -154,7 +154,7 @@ const runtimePlugin = (params) => ({
154
154
  appendPlugins([
155
155
  new rspack.IgnorePlugin({
156
156
  resourceRegExp: /^react-dom\/client$/,
157
- contextRegExp: /./
157
+ contextRegExp: /@modern-js\/runtime/
158
158
  })
159
159
  ]);
160
160
  }
@@ -129,7 +129,7 @@ var runtimePlugin = function(params) {
129
129
  chain.plugin("ignore-plugin").use(webpack.IgnorePlugin, [
130
130
  {
131
131
  resourceRegExp: /^react-dom\/client$/,
132
- contextRegExp: /./
132
+ contextRegExp: /@modern-js\/runtime/
133
133
  }
134
134
  ]);
135
135
  }
@@ -140,7 +140,7 @@ var runtimePlugin = function(params) {
140
140
  appendPlugins([
141
141
  new rspack.IgnorePlugin({
142
142
  resourceRegExp: /^react-dom\/client$/,
143
- contextRegExp: /./
143
+ contextRegExp: /@modern-js\/runtime/
144
144
  })
145
145
  ]);
146
146
  }
@@ -106,7 +106,7 @@ const runtimePlugin = (params) => ({
106
106
  chain.plugin("ignore-plugin").use(webpack.IgnorePlugin, [
107
107
  {
108
108
  resourceRegExp: /^react-dom\/client$/,
109
- contextRegExp: /./
109
+ contextRegExp: /@modern-js\/runtime/
110
110
  }
111
111
  ]);
112
112
  }
@@ -116,7 +116,7 @@ const runtimePlugin = (params) => ({
116
116
  appendPlugins([
117
117
  new rspack.IgnorePlugin({
118
118
  resourceRegExp: /^react-dom\/client$/,
119
- contextRegExp: /./
119
+ contextRegExp: /@modern-js\/runtime/
120
120
  })
121
121
  ]);
122
122
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.67.7",
18
+ "version": "2.67.8",
19
19
  "engines": {
20
20
  "node": ">=14.17.6"
21
21
  },
@@ -211,13 +211,13 @@
211
211
  "react-is": "^18",
212
212
  "react-side-effect": "^2.1.1",
213
213
  "styled-components": "^5.3.1",
214
- "@modern-js/plugin": "2.67.7",
215
- "@modern-js/plugin-data-loader": "2.67.7",
216
- "@modern-js/plugin-v2": "2.67.7",
217
- "@modern-js/render": "2.67.7",
218
- "@modern-js/runtime-utils": "2.67.7",
219
- "@modern-js/types": "2.67.7",
220
- "@modern-js/utils": "2.67.7"
214
+ "@modern-js/plugin": "2.67.8",
215
+ "@modern-js/plugin-data-loader": "2.67.8",
216
+ "@modern-js/plugin-v2": "2.67.8",
217
+ "@modern-js/render": "2.67.8",
218
+ "@modern-js/runtime-utils": "2.67.8",
219
+ "@modern-js/types": "2.67.8",
220
+ "@modern-js/utils": "2.67.8"
221
221
  },
222
222
  "peerDependencies": {
223
223
  "react": ">=17",
@@ -241,9 +241,9 @@
241
241
  "ts-node": "^10.9.1",
242
242
  "typescript": "^5",
243
243
  "webpack": "^5.99.8",
244
- "@modern-js/app-tools": "2.67.7",
245
- "@scripts/build": "2.66.0",
246
- "@scripts/jest-config": "2.66.0"
244
+ "@modern-js/app-tools": "2.67.8",
245
+ "@scripts/jest-config": "2.66.0",
246
+ "@scripts/build": "2.66.0"
247
247
  },
248
248
  "sideEffects": false,
249
249
  "publishConfig": {