fix: ignore module federation source maps to prevent build warnings#122
fix: ignore module federation source maps to prevent build warnings#122intagliated wants to merge 4 commits into
Conversation
|
Thanks for working on this @intagliated What I see: #111 (comment) |
|
Thanks for digging. Yes if the fix is already in the upstream and warning logs are no longer seen here, than we can close this PR. |
|
Hi @Darshan808. The dependency chain that caused it: These are all version numbers — the number after Why "sources": [
"../src/error-codes.ts",
"../src/getShortErrorMsg.ts",
"../src/desc.ts"
]So Why Tests added:
|
|
Sure. |
|
Hi, I want to reopen the pull request again to understand why the CI failed -16/21 |
|
I added a extension build job in a PR and here' the CI https://github.com/jupyterlab/jupyter-builder/actions/runs/28006945873/job/82890989868?pr=126 |
|
ok |
Description
This PR resolves an issue where building extensions produces verbose source map parsing warnings from upstream packages (specifically
@module-federation/error-codes).While these builds complete successfully, missing TypeScript source files in third-party modules trigger
ENOENT: no such file or directoryerrors fromsource-map-loader, which clutters the build logs.By adding an
excluderule targeting/node_modules\/@module-federation/insidesrc/extensionConfig.ts, the builder now defensively skips parsing these known broken/missing upstream source maps.Related Issues
Fixes #111
Type of Change