You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During compilation of a MF remote entrypoint the following warning is emitted:
Failed to get stats. Are you trying to access the stats from the previous compilation?
which means that the result of stats.toJson() is set to null. TS definitions don't include the null result of stats.toJson() and therefore in Re.Pack this is not handled properly (similar case never occurs when using Webpack).
It seems like the compiler shuts down on the Rust side, but continues to execute normally on the JS side. I'm not able to pinpoint this to anything on the Rust side, is there any way to debug this with the release version of Rspack?
System Info
Details
During compilation of a MF remote entrypoint the following warning is emitted:
which means that the result of
stats.toJson()
is set tonull
. TS definitions don't include the null result ofstats.toJson()
and therefore in Re.Pack this is not handled properly (similar case never occurs when using Webpack).Related issue in Re.Pack: callstack/repack#854
Reproduce link
https://github.com/jbroma/repack-rspack-stats-repro
Reproduce Steps
pnpm install
pnpm start
(more verbose instructions in the repo
README.md
)The text was updated successfully, but these errors were encountered: