Extend the NormalModuleReplacementPlugin fix to also strip the
editor contribution side-effect imports from the shared
vs/basic-languages/_.contribution.js file.
Monaco 0.55 introduced this pattern across all language contributions
(not just TypeScript), as reported upstream:
https://github.com/microsoft/monaco-editor/issues/5162
Note: the primary bundle size regression (~7 MB) is not from these
side-effect imports (webpack deduplicates them), but from TypeScript's
new direct import of editor.api2.js which pulls in the full standalone
API on the main thread. That path needs further investigation.
🤖 Generated by LLM (Claude, via OpenClaw)