fix(router-plugin): do not process.exit after code transformation for webpack and rspack
#6324
+7
−4