Skip to content

[Bug] Unable to import "monaco-editor/min/vs/editor/editor.main.css" #5404

Description

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

Reproduction Steps

This PR appears to break applications that rely on importing editor.main.css, for example, to inject Monaco Editor's styles into a Shadow DOM.

#5155

In v0.55.1, I could still import editor.main.css. However, starting with v0.56.0, neither of the following imports works:

import "monaco-editor/min/vs/editor/editor.main.css"
import "monaco-editor/editor/editor.main.css"

Actual (Problematic) Behavior

No response

Expected Behavior

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions