Patch Changes
- Stop emitting
debug-metadata.jsonin production builds unlessDEBUG=rspeedy. Previously anRSDOCTOR=truebuild leaked the file into the output, becauseLynxEncodePlugin's intermediate-asset cleanup is skipped under Rsdoctor (it keeps intermediate files split so Rsdoctor can analyse them). The debug-metadata plugin now strips the asset itself. Dev builds keep it in memory so the debug-metadata middleware can still serve it. (#2850)