Closed ii64 closed 2 weeks ago
After replacing the ts-loader
to builtin:swc-loader
, do not meet the same issue. Just build like webpack and report lots of errors:
Cannot reproduce this issue on arch. The only error it shows is related to ts-loader.
I have updated the repro config, got rsbuild panic on crates/rspack_plugin_javascript/src/parser_plugin/import_meta_plugin.rs:95
I have updated the repro config, got rsbuild panic on
crates/rspack_plugin_javascript/src/parser_plugin/import_meta_plugin.rs:95
Sorry for the late reply. The context
you provided is not an absolute path, this breaks the invariant of bundler internals. We are going to improve that.
System Info
Details
rspack/rsbuild crashed with iterator/memory issue, empty backtrace
Reproduce link
https://github.com/ii64/rspack-repro-import-meta-url
Reproduce Steps
pnpm build:webpack
, it'll show you errors, and generated files persisted Runpnpm build:rsbuild
orpnpm build:rspack
, got run-time abort/segfault/napi stuff/iterator capacity overflow