Skip to content

[Bug] Missing sourcemap files since v0.52 #4712

Description

@kermanx

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Description

There is a //# sourceMappingURL=marked.umd.js.map at the end of https://cdn.jsdelivr.net/npm/monaco-editor@0.52.0/esm/vs/base/common/marked/marked.js. But the source map file is actually missing/not published, which causes bundlers like Vite throwing errors of "Failed to load source map for /.../node_modules/monaco-editor/esm/vs/base/common/marked/marked.js".

Before v0.52.0-rc2, there wasn't sourceMappingURL comments, so everything was fine.

If required, I am glad to provide a minimal reproduction of using monaco-editor with Vite, but this seems to be not very useful for this specific issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ESMECMAScript modulesbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions