@rsbuild/webpack 1.4.2 → 1.6.0-beta.0

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
@@ -195,7 +195,7 @@ for(var __webpack_i__ in (()=>{
195
195
  context.buildState.stats = null, context.buildState.status = 'idle', context.buildState.hasErrors = !1;
196
196
  }), compiler.hooks.done.tap(HOOK_NAME, (statsInstance)=>{
197
197
  let stats = helpers.getRsbuildStats(statsInstance, compiler, context.action), hasErrors = statsInstance.hasErrors();
198
- context.buildState.stats = stats, context.buildState.status = 'done', context.buildState.hasErrors = hasErrors;
198
+ context.buildState.stats = stats, context.buildState.status = 'done', context.buildState.hasErrors = hasErrors, context.socketServer?.onBuildDone();
199
199
  let { message, level } = helpers.formatStats(stats, hasErrors);
200
200
  'error' === level ? core_.logger.error(message) : 'warning' === level && core_.logger.warn(message);
201
201
  }), 'dev' === context.action && helpers.registerDevHook({
package/dist/index.js CHANGED
@@ -157,7 +157,7 @@ async function createCompiler_createCompiler(options) {
157
157
  context.buildState.stats = null, context.buildState.status = 'idle', context.buildState.hasErrors = !1;
158
158
  }), compiler.hooks.done.tap(HOOK_NAME, (statsInstance)=>{
159
159
  let stats = helpers.getRsbuildStats(statsInstance, compiler, context.action), hasErrors = statsInstance.hasErrors();
160
- context.buildState.stats = stats, context.buildState.status = 'done', context.buildState.hasErrors = hasErrors;
160
+ context.buildState.stats = stats, context.buildState.status = 'done', context.buildState.hasErrors = hasErrors, context.socketServer?.onBuildDone();
161
161
  let { message, level } = helpers.formatStats(stats, hasErrors);
162
162
  'error' === level ? core_.logger.error(message) : 'warning' === level && core_.logger.warn(message);
163
163
  }), 'dev' === context.action && helpers.registerDevHook({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/webpack",
3
- "version": "1.4.2",
3
+ "version": "1.6.0-beta.0",
4
4
  "homepage": "https://rsbuild.rs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,16 +29,16 @@
29
29
  "picocolors": "^1.1.1",
30
30
  "reduce-configs": "^1.1.1",
31
31
  "tsconfig-paths-webpack-plugin": "4.2.0",
32
- "webpack": "^5.101.3"
32
+ "webpack": "^5.102.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@rslib/core": "0.15.0",
36
- "@types/node": "^22.18.8",
36
+ "@types/node": "^22.18.10",
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.3",
41
- "@rsbuild/core": "1.5.14",
41
+ "@rsbuild/core": "1.6.0-beta.0",
42
42
  "@scripts/test-helper": "1.0.1"
43
43
  },
44
44
  "peerDependencies": {