diff --git a/crates/rspack_plugin_hmr/src/runtime/hot_module_replacement.js b/crates/rspack_plugin_hmr/src/runtime/hot_module_replacement.js index 7142ea78971..9dfd8037082 100644 --- a/crates/rspack_plugin_hmr/src/runtime/hot_module_replacement.js +++ b/crates/rspack_plugin_hmr/src/runtime/hot_module_replacement.js @@ -10,8 +10,6 @@ var registeredStatusHandlers = []; var currentStatus = "idle"; // while downloading -// TODO: not needed in rspack temporary, -// TODO: because we transfer all changed modules. var blockingPromises = 0; var blockingPromisesWaiting = []; diff --git a/packages/rspack-test-tools/tests/__snapshots__/StatsOutput.test.js.snap b/packages/rspack-test-tools/tests/__snapshots__/StatsOutput.test.js.snap index 3d536602a2d..f7aefb1c36a 100644 --- a/packages/rspack-test-tools/tests/__snapshots__/StatsOutput.test.js.snap +++ b/packages/rspack-test-tools/tests/__snapshots__/StatsOutput.test.js.snap @@ -76,11 +76,11 @@ Rspack x.x.x compiled successfully in X s (185b80456c181897fcd5)" exports[`statsOutput statsOutput/hot+production should print correct stats for hot+production 1`] = ` "PublicPath: auto -asset main.js 32.2 KiB [emitted] (name: main) -Entrypoint main 32.2 KiB = main.js +asset main.js 32.1 KiB [emitted] (name: main) +Entrypoint main 32.1 KiB = main.js runtime modules 11 modules ./index.js -Rspack x.x.x compiled successfully in X s (68e01ffb94a6b5683661)" +Rspack x.x.x compiled successfully in X s (db903683225d0fe50e7b)" `; exports[`statsOutput statsOutput/ignore-plugin should print correct stats for ignore-plugin 1`] = ` diff --git a/plugin-test/css-extract/cases/hmr/expected/main.js b/plugin-test/css-extract/cases/hmr/expected/main.js index 4d44047846e..6712eb5b094 100644 --- a/plugin-test/css-extract/cases/hmr/expected/main.js +++ b/plugin-test/css-extract/cases/hmr/expected/main.js @@ -322,8 +322,6 @@ var registeredStatusHandlers = []; var currentStatus = "idle"; // while downloading -// TODO: not needed in rspack temporary, -// TODO: because we transfer all changed modules. var blockingPromises = 0; var blockingPromisesWaiting = [];