Skip to content

@lynx-js/debug-metadata-rsbuild-plugin@0.2.4

Choose a tag to compare

@github-actions github-actions released this 05 Dec 13:38
e40bcf9

Patch Changes

  • Optimize build and dev/HMR main-thread overhead in DefinesInjection and @lynx-js/debug-metadata-rsbuild-plugin: (#4502)

    • Index compilation.modules in a single pass and cache moduleGraph.getOutgoingConnections and per-module define presence within each finishMake pass to avoid repeated linear scans and redundant NAPI calls across entries.
    • Pass debug-metadata.json in memory via WeakMap between beforeEncode and beforeEmit to eliminate double serialization, and defer parseDebugInfoUnits in dev mode until bytecode debug info is requested via middleware.