@modern-js/uni-builder 2.64.0 → 2.64.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.d.ts +2 -2
- package/dist/rspack/index.js +14 -2
- package/dist/shared/plugins/frameworkConfig.js +10 -1
- package/dist/shared/rsc/common.d.ts +22 -0
- package/dist/shared/rsc/common.js +170 -0
- package/dist/shared/rsc/index.d.ts +2 -0
- package/dist/shared/rsc/index.js +31 -0
- package/dist/shared/rsc/plugins/rsbuild-rsc-plugin.d.ts +7 -0
- package/dist/shared/rsc/plugins/rsbuild-rsc-plugin.js +138 -0
- package/dist/shared/rsc/plugins/rsc-client-plugin.d.ts +13 -0
- package/dist/shared/rsc/plugins/rsc-client-plugin.js +205 -0
- package/dist/shared/rsc/plugins/rsc-server-plugin.d.ts +20 -0
- package/dist/shared/rsc/plugins/rsc-server-plugin.js +272 -0
- package/dist/shared/rsc/plugins/rspack-rsc-client-plugin.d.ts +14 -0
- package/dist/shared/rsc/plugins/rspack-rsc-client-plugin.js +238 -0
- package/dist/shared/rsc/plugins/rspack-rsc-server-plugin.d.ts +23 -0
- package/dist/shared/rsc/plugins/rspack-rsc-server-plugin.js +240 -0
- package/dist/shared/rsc/rsc-client-loader.d.ts +7 -0
- package/dist/shared/rsc/rsc-client-loader.js +70 -0
- package/dist/shared/rsc/rsc-css-loader.d.ts +2 -0
- package/dist/shared/rsc/rsc-css-loader.js +30 -0
- package/dist/shared/rsc/rsc-server-loader.d.ts +6 -0
- package/dist/shared/rsc/rsc-server-loader.js +94 -0
- package/dist/shared/rsc/rsc-ssr-loader.d.ts +6 -0
- package/dist/shared/rsc/rsc-ssr-loader.js +59 -0
- package/dist/types.d.ts +8 -0
- package/dist/webpack/index.js +13 -1
- package/package.json +25 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/uni-builder",
|
|
3
|
-
"version": "2.64.
|
|
3
|
+
"version": "2.64.2",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./rsc": {
|
|
18
|
+
"types": "./dist/shared/rsc/index.d.ts",
|
|
19
|
+
"default": "./dist/shared/rsc/index.js"
|
|
16
20
|
}
|
|
17
21
|
},
|
|
18
22
|
"main": "./dist/index.js",
|
|
@@ -26,36 +30,39 @@
|
|
|
26
30
|
"@babel/preset-react": "^7.22.15",
|
|
27
31
|
"@babel/types": "^7.26.0",
|
|
28
32
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
|
|
29
|
-
"@rsbuild/core": "1.
|
|
30
|
-
"@rsbuild/plugin-assets-retry": "1.0
|
|
33
|
+
"@rsbuild/core": "1.2.7",
|
|
34
|
+
"@rsbuild/plugin-assets-retry": "1.1.0",
|
|
31
35
|
"@rsbuild/plugin-babel": "1.0.3",
|
|
32
|
-
"@rsbuild/plugin-check-syntax": "1.2.
|
|
36
|
+
"@rsbuild/plugin-check-syntax": "1.2.2",
|
|
33
37
|
"@rsbuild/plugin-css-minimizer": "1.0.2",
|
|
34
38
|
"@rsbuild/plugin-less": "1.1.0",
|
|
35
39
|
"@rsbuild/plugin-pug": "1.0.2",
|
|
36
40
|
"@rsbuild/plugin-react": "1.1.0",
|
|
37
41
|
"@rsbuild/plugin-rem": "1.0.2",
|
|
38
|
-
"@rsbuild/plugin-sass": "1.1
|
|
42
|
+
"@rsbuild/plugin-sass": "1.2.1",
|
|
39
43
|
"@rsbuild/plugin-source-build": "1.0.2",
|
|
40
|
-
"@rsbuild/plugin-styled-components": "1.
|
|
44
|
+
"@rsbuild/plugin-styled-components": "1.2.0",
|
|
41
45
|
"@rsbuild/plugin-svgr": "1.0.6",
|
|
42
46
|
"@rsbuild/plugin-toml": "1.0.1",
|
|
43
|
-
"@rsbuild/plugin-type-check": "1.2.
|
|
47
|
+
"@rsbuild/plugin-type-check": "1.2.1",
|
|
44
48
|
"@rsbuild/plugin-typed-css-modules": "1.0.2",
|
|
45
49
|
"@rsbuild/plugin-yaml": "1.0.2",
|
|
46
|
-
"@rsbuild/webpack": "1.
|
|
50
|
+
"@rsbuild/webpack": "1.2.2",
|
|
51
|
+
"@swc/core": "1.10.15",
|
|
47
52
|
"@swc/helpers": "0.5.13",
|
|
48
53
|
"autoprefixer": "10.4.20",
|
|
49
|
-
"babel-loader": "9.1
|
|
54
|
+
"babel-loader": "9.2.1",
|
|
50
55
|
"babel-plugin-import": "1.13.8",
|
|
51
56
|
"babel-plugin-styled-components": "1.13.3",
|
|
52
57
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
53
58
|
"browserslist": "4.24.4",
|
|
54
59
|
"cssnano": "6.0.1",
|
|
60
|
+
"es-module-lexer": "^1.1.0",
|
|
55
61
|
"glob": "^9.3.5",
|
|
56
62
|
"html-minifier-terser": "^7.2.0",
|
|
57
63
|
"html-webpack-plugin": "5.6.3",
|
|
58
64
|
"lodash": "^4.17.21",
|
|
65
|
+
"magic-string": "0.30.17",
|
|
59
66
|
"picocolors": "^1.0.1",
|
|
60
67
|
"postcss": "^8.4.35",
|
|
61
68
|
"postcss-custom-properties": "13.3.12",
|
|
@@ -72,19 +79,22 @@
|
|
|
72
79
|
"ts-loader": "9.4.4",
|
|
73
80
|
"webpack": "^5.97.1",
|
|
74
81
|
"webpack-subresource-integrity": "5.1.0",
|
|
75
|
-
"@modern-js/babel-preset": "2.64.
|
|
76
|
-
"@modern-js/
|
|
82
|
+
"@modern-js/babel-preset": "2.64.2",
|
|
83
|
+
"@modern-js/flight-server-transform-plugin": "2.64.2",
|
|
84
|
+
"@modern-js/utils": "2.64.2"
|
|
77
85
|
},
|
|
78
86
|
"devDependencies": {
|
|
79
87
|
"@rsbuild/plugin-webpack-swc": "1.0.9",
|
|
88
|
+
"@types/es-module-lexer": "^0.4.3",
|
|
80
89
|
"@types/html-minifier-terser": "^7.0.2",
|
|
81
90
|
"@types/lodash": "^4.14.202",
|
|
82
|
-
"react": "^18.
|
|
83
|
-
"react-dom": "^18.
|
|
91
|
+
"react": "^18.2.0",
|
|
92
|
+
"react-dom": "^18.2.0",
|
|
84
93
|
"terser": "^5.31.1",
|
|
85
94
|
"typescript": "^5.3.0",
|
|
86
|
-
"@
|
|
87
|
-
"@scripts/vitest-config": "2.64.
|
|
95
|
+
"@modern-js/types": "2.64.2",
|
|
96
|
+
"@scripts/vitest-config": "2.64.2",
|
|
97
|
+
"@scripts/build": "2.64.2"
|
|
88
98
|
},
|
|
89
99
|
"publishConfig": {
|
|
90
100
|
"access": "public",
|