@modern-js/uni-builder 2.68.11 → 2.68.13
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/rspack/index.js +3 -0
- package/package.json +14 -14
package/dist/rspack/index.js
CHANGED
|
@@ -48,6 +48,9 @@ async function parseConfig(uniBuilderConfig, options) {
|
|
|
48
48
|
if ((_uniBuilderConfig_experiments = uniBuilderConfig.experiments) === null || _uniBuilderConfig_experiments === void 0 ? void 0 : _uniBuilderConfig_experiments.lazyCompilation) {
|
|
49
49
|
rsbuildConfig.dev.lazyCompilation = uniBuilderConfig.experiments.lazyCompilation;
|
|
50
50
|
}
|
|
51
|
+
if (!rsbuildConfig.dev.lazyCompilation) {
|
|
52
|
+
rsbuildConfig.dev.lazyCompilation = false;
|
|
53
|
+
}
|
|
51
54
|
const { sri } = uniBuilderConfig.security || {};
|
|
52
55
|
if (sri) {
|
|
53
56
|
if (sri === true) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/uni-builder",
|
|
3
|
-
"version": "2.68.
|
|
3
|
+
"version": "2.68.13",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
"@babel/preset-react": "^7.22.15",
|
|
31
31
|
"@babel/types": "^7.26.0",
|
|
32
32
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.16",
|
|
33
|
-
"@rsbuild/core": "1.
|
|
33
|
+
"@rsbuild/core": "1.5.6",
|
|
34
34
|
"@rsbuild/plugin-assets-retry": "1.4.2",
|
|
35
35
|
"@rsbuild/plugin-babel": "1.0.6",
|
|
36
|
-
"@rsbuild/plugin-check-syntax": "1.
|
|
36
|
+
"@rsbuild/plugin-check-syntax": "1.4.0",
|
|
37
37
|
"@rsbuild/plugin-css-minimizer": "1.0.3",
|
|
38
|
-
"@rsbuild/plugin-less": "1.
|
|
38
|
+
"@rsbuild/plugin-less": "1.5.0",
|
|
39
39
|
"@rsbuild/plugin-pug": "1.3.2",
|
|
40
|
-
"@rsbuild/plugin-react": "1.
|
|
40
|
+
"@rsbuild/plugin-react": "1.4.0",
|
|
41
41
|
"@rsbuild/plugin-rem": "1.0.3",
|
|
42
|
-
"@rsbuild/plugin-sass": "1.
|
|
42
|
+
"@rsbuild/plugin-sass": "1.4.0",
|
|
43
43
|
"@rsbuild/plugin-source-build": "1.0.3",
|
|
44
44
|
"@rsbuild/plugin-styled-components": "1.4.0",
|
|
45
45
|
"@rsbuild/plugin-svgr": "1.2.2",
|
|
46
46
|
"@rsbuild/plugin-toml": "1.1.1",
|
|
47
47
|
"@rsbuild/plugin-type-check": "1.2.4",
|
|
48
|
-
"@rsbuild/plugin-typed-css-modules": "1.0
|
|
48
|
+
"@rsbuild/plugin-typed-css-modules": "1.1.0",
|
|
49
49
|
"@rsbuild/plugin-yaml": "1.0.3",
|
|
50
|
-
"@rsbuild/webpack": "1.
|
|
50
|
+
"@rsbuild/webpack": "1.4.0",
|
|
51
51
|
"@swc/core": "1.11.31",
|
|
52
52
|
"@swc/helpers": "^0.5.17",
|
|
53
53
|
"autoprefixer": "10.4.21",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"es-module-lexer": "^1.1.0",
|
|
61
61
|
"glob": "^9.3.5",
|
|
62
62
|
"html-minifier-terser": "^7.2.0",
|
|
63
|
-
"html-webpack-plugin": "5.6.
|
|
63
|
+
"html-webpack-plugin": "5.6.4",
|
|
64
64
|
"jiti": "1.21.7",
|
|
65
65
|
"lodash": "^4.17.21",
|
|
66
66
|
"magic-string": "0.30.17",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"terser-webpack-plugin": "5.3.14",
|
|
79
79
|
"ts-deepmerge": "7.0.2",
|
|
80
80
|
"ts-loader": "9.4.4",
|
|
81
|
-
"webpack": "^5.101.
|
|
81
|
+
"webpack": "^5.101.3",
|
|
82
82
|
"webpack-subresource-integrity": "5.1.0",
|
|
83
|
-
"@modern-js/babel-preset": "2.68.
|
|
84
|
-
"@modern-js/flight-server-transform-plugin": "2.68.
|
|
85
|
-
"@modern-js/utils": "2.68.
|
|
83
|
+
"@modern-js/babel-preset": "2.68.13",
|
|
84
|
+
"@modern-js/flight-server-transform-plugin": "2.68.13",
|
|
85
|
+
"@modern-js/utils": "2.68.13"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@rsbuild/plugin-webpack-swc": "1.1.2",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"react-dom": "^18.2.0",
|
|
94
94
|
"terser": "^5.31.1",
|
|
95
95
|
"typescript": "^5.3.0",
|
|
96
|
-
"@modern-js/types": "2.68.
|
|
96
|
+
"@modern-js/types": "2.68.13",
|
|
97
97
|
"@scripts/build": "2.66.0",
|
|
98
98
|
"@scripts/vitest-config": "2.66.0"
|
|
99
99
|
},
|