@rsbuild/webpack 0.0.23 → 0.0.24
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/core/initConfigs.js +3 -1
- package/package.json +7 -7
package/dist/core/initConfigs.js
CHANGED
|
@@ -44,7 +44,9 @@ async function initConfigs({
|
|
|
44
44
|
pluginStore
|
|
45
45
|
});
|
|
46
46
|
await modifyRsbuildConfig(context);
|
|
47
|
-
|
|
47
|
+
const normalizedConfig = (0, import_normalize.normalizeConfig)(context.config);
|
|
48
|
+
context.normalizedConfig = normalizedConfig;
|
|
49
|
+
(0, import_shared.updateContextByNormalizedConfig)(context, context.normalizedConfig);
|
|
48
50
|
const targets = (0, import_shared.castArray)(rsbuildOptions.target);
|
|
49
51
|
const webpackConfigs = await Promise.all(
|
|
50
52
|
targets.map((target) => (0, import_webpackConfig.generateWebpackConfig)({ target, context }))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/webpack",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"homepage": "https://rsbuild.dev",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"ts-loader": "9.4.4",
|
|
52
52
|
"tsconfig-paths-webpack-plugin": "4.1.0",
|
|
53
53
|
"webpack": "^5.89.0",
|
|
54
|
-
"@rsbuild/babel-preset": "0.0.
|
|
55
|
-
"@rsbuild/
|
|
56
|
-
"@rsbuild/plugin-
|
|
57
|
-
"@rsbuild/
|
|
58
|
-
"@rsbuild/
|
|
54
|
+
"@rsbuild/babel-preset": "0.0.24",
|
|
55
|
+
"@rsbuild/core": "0.0.24",
|
|
56
|
+
"@rsbuild/plugin-babel": "0.0.24",
|
|
57
|
+
"@rsbuild/plugin-css-minimizer": "0.0.24",
|
|
58
|
+
"@rsbuild/shared": "0.0.24"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/lodash": "^4.14.200",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react": "^18.2.0",
|
|
64
64
|
"react-dom": "^18.2.0",
|
|
65
65
|
"typescript": "^5.2.2",
|
|
66
|
-
"@rsbuild/test-helper": "0.0.
|
|
66
|
+
"@rsbuild/test-helper": "0.0.24"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14.0.0"
|