@modern-js/uni-builder 2.68.15 → 2.68.17
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/shared/parseCommonConfig.js +4 -3
- package/package.json +10 -10
|
@@ -131,10 +131,11 @@ async function parseCommonConfig(uniBuilderConfig, options) {
|
|
|
131
131
|
(_output3 = output).cssModules || (_output3.cssModules = {});
|
|
132
132
|
output.cssModules.localIdentName = cssModuleLocalIdentName;
|
|
133
133
|
}
|
|
134
|
-
if (isUseCssSourceMap(disableSourceMap) && output.sourceMap !==
|
|
135
|
-
var _output4;
|
|
134
|
+
if (isUseCssSourceMap(disableSourceMap) && typeof output.sourceMap !== "boolean") {
|
|
135
|
+
var _output4, _output_sourceMap;
|
|
136
136
|
(_output4 = output).sourceMap || (_output4.sourceMap = {});
|
|
137
|
-
|
|
137
|
+
var _css;
|
|
138
|
+
(_css = (_output_sourceMap = output.sourceMap).css) !== null && _css !== void 0 ? _css : _output_sourceMap.css = true;
|
|
138
139
|
}
|
|
139
140
|
const { server: _server, worker, ...rsbuildDistPath } = distPath;
|
|
140
141
|
output.distPath = rsbuildDistPath;
|
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.17",
|
|
4
4
|
"description": "Unified builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,14 +30,14 @@
|
|
|
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.5.
|
|
33
|
+
"@rsbuild/core": "1.5.15",
|
|
34
34
|
"@rsbuild/plugin-assets-retry": "1.4.3",
|
|
35
35
|
"@rsbuild/plugin-babel": "1.0.6",
|
|
36
36
|
"@rsbuild/plugin-check-syntax": "1.4.0",
|
|
37
37
|
"@rsbuild/plugin-css-minimizer": "1.0.3",
|
|
38
38
|
"@rsbuild/plugin-less": "1.5.0",
|
|
39
39
|
"@rsbuild/plugin-pug": "1.3.2",
|
|
40
|
-
"@rsbuild/plugin-react": "1.4.
|
|
40
|
+
"@rsbuild/plugin-react": "1.4.1",
|
|
41
41
|
"@rsbuild/plugin-rem": "1.0.4",
|
|
42
42
|
"@rsbuild/plugin-sass": "1.4.0",
|
|
43
43
|
"@rsbuild/plugin-source-build": "1.0.3",
|
|
@@ -45,9 +45,9 @@
|
|
|
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.1.
|
|
48
|
+
"@rsbuild/plugin-typed-css-modules": "1.1.1",
|
|
49
49
|
"@rsbuild/plugin-yaml": "1.0.3",
|
|
50
|
-
"@rsbuild/webpack": "1.4.
|
|
50
|
+
"@rsbuild/webpack": "1.4.3",
|
|
51
51
|
"@swc/core": "1.11.31",
|
|
52
52
|
"@swc/helpers": "^0.5.17",
|
|
53
53
|
"autoprefixer": "10.4.21",
|
|
@@ -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.
|
|
81
|
+
"webpack": "^5.102.1",
|
|
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.17",
|
|
84
|
+
"@modern-js/flight-server-transform-plugin": "2.68.17",
|
|
85
|
+
"@modern-js/utils": "2.68.17"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@rsbuild/plugin-webpack-swc": "1.1.2",
|
|
@@ -93,8 +93,8 @@
|
|
|
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.15",
|
|
97
96
|
"@scripts/build": "2.66.0",
|
|
97
|
+
"@modern-js/types": "2.68.17",
|
|
98
98
|
"@scripts/vitest-config": "2.66.0"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": {
|