@modern-js/plugin-v2 0.0.0-nightly-20250323160331 → 0.0.0-nightly-20250324160328
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.
|
@@ -60,7 +60,6 @@ const createServer = () => {
|
|
|
60
60
|
const { serverContext } = init(options);
|
|
61
61
|
const config = await serverContext.hooks.modifyConfig.call(serverContext.config);
|
|
62
62
|
serverContext.config = config;
|
|
63
|
-
await serverContext.hooks.onPrepare.call();
|
|
64
63
|
return {
|
|
65
64
|
serverContext
|
|
66
65
|
};
|
|
@@ -37,7 +37,6 @@ const createServer = () => {
|
|
|
37
37
|
const { serverContext } = init(options);
|
|
38
38
|
const config = await serverContext.hooks.modifyConfig.call(serverContext.config);
|
|
39
39
|
serverContext.config = config;
|
|
40
|
-
await serverContext.hooks.onPrepare.call();
|
|
41
40
|
return {
|
|
42
41
|
serverContext
|
|
43
42
|
};
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-nightly-
|
|
18
|
+
"version": "0.0.0-nightly-20250324160328",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@swc/helpers": "0.5.13",
|
|
83
83
|
"jiti": "1.21.7",
|
|
84
|
-
"@modern-js/runtime-utils": "0.0.0-nightly-
|
|
85
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
84
|
+
"@modern-js/runtime-utils": "0.0.0-nightly-20250324160328",
|
|
85
|
+
"@modern-js/utils": "0.0.0-nightly-20250324160328"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@rsbuild/core": "1.2.19",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"@types/react": "^18.3.11",
|
|
92
92
|
"jest": "^29",
|
|
93
93
|
"typescript": "^5",
|
|
94
|
-
"@modern-js/types": "0.0.0-nightly-
|
|
95
|
-
"@modern-js/uni-builder": "0.0.0-nightly-
|
|
96
|
-
"@scripts/build": "0.0.0-nightly-
|
|
97
|
-
"@scripts/jest-config": "0.0.0-nightly-
|
|
94
|
+
"@modern-js/types": "0.0.0-nightly-20250324160328",
|
|
95
|
+
"@modern-js/uni-builder": "0.0.0-nightly-20250324160328",
|
|
96
|
+
"@scripts/build": "0.0.0-nightly-20250324160328",
|
|
97
|
+
"@scripts/jest-config": "0.0.0-nightly-20250324160328"
|
|
98
98
|
},
|
|
99
99
|
"sideEffects": false,
|
|
100
100
|
"publishConfig": {
|