@rsbuild/webpack 1.3.3 → 1.3.4

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.cjs CHANGED
@@ -146,7 +146,7 @@ for(var __webpack_i__ in (()=>{
146
146
  SourceMapDevToolPlugin,
147
147
  HotModuleReplacementPlugin
148
148
  }
149
- }), webpackConfig = (await modifyWebpackChain(context, chainUtils, bundlerChain)).toConfig(), configUtils = await helpers.getConfigUtils(webpackConfig, chainUtils);
149
+ }), webpackConfig = (await modifyWebpackChain(context, chainUtils, bundlerChain)).toConfig(), configUtils = helpers.getConfigUtils(()=>webpackConfig, chainUtils);
150
150
  return webpackConfig = await modifyWebpackConfig(context, webpackConfig, configUtils);
151
151
  }
152
152
  async function initConfigs({ context, pluginManager, rsbuildOptions, helpers }) {
package/dist/index.js CHANGED
@@ -124,8 +124,8 @@ async function generateWebpackConfig({ target, context, environment, helpers })
124
124
  SourceMapDevToolPlugin,
125
125
  HotModuleReplacementPlugin
126
126
  }
127
- }), webpackConfig = (await modifyWebpackChain(context, chainUtils, bundlerChain)).toConfig(), configUtils = await helpers.getConfigUtils(webpackConfig, chainUtils);
128
- return await modifyWebpackConfig(context, webpackConfig, configUtils);
127
+ }), webpackConfig = (await modifyWebpackChain(context, chainUtils, bundlerChain)).toConfig(), configUtils = helpers.getConfigUtils(()=>webpackConfig, chainUtils);
128
+ return webpackConfig = await modifyWebpackConfig(context, webpackConfig, configUtils);
129
129
  }
130
130
  async function initConfigs({ context, pluginManager, rsbuildOptions, helpers }) {
131
131
  let normalizedConfig = await helpers.initRsbuildConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/webpack",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "homepage": "https://rsbuild.rs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,20 +25,20 @@
25
25
  "dependencies": {
26
26
  "copy-webpack-plugin": "11.0.0",
27
27
  "html-webpack-plugin": "^5.6.3",
28
- "mini-css-extract-plugin": "2.9.2",
28
+ "mini-css-extract-plugin": "2.9.3",
29
29
  "picocolors": "^1.1.1",
30
- "reduce-configs": "^1.1.0",
30
+ "reduce-configs": "^1.1.1",
31
31
  "tsconfig-paths-webpack-plugin": "4.2.0",
32
32
  "webpack": "^5.101.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@rslib/core": "0.11.1",
35
+ "@rslib/core": "0.11.2",
36
36
  "@types/node": "^22.17.0",
37
37
  "ansi-escapes": "4.3.2",
38
38
  "cli-truncate": "2.1.0",
39
39
  "patch-console": "1.0.0",
40
40
  "typescript": "^5.9.2",
41
- "@rsbuild/core": "1.4.14",
41
+ "@rsbuild/core": "1.4.15",
42
42
  "@scripts/test-helper": "1.0.1"
43
43
  },
44
44
  "peerDependencies": {