[Bug] error using with vite 8.1.5

Open
#5,403 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@hediet is already working on this.

Since Jul 21, 2026.

Assessment

This issue has not been assessed yet.

Description

Hi, after upgrading to 0.56.0 and try to build project with vite 8.1.5:
Error: [vite]: Rolldown failed to resolve import "monaco-editor/esm/vs/editor/editor.api"

note that it is ok on 0.55.1 with same vite version.

Dominant language
JavaScript
Stars
47k
Forks
4.2k
Avg merge
3d 13h
Merged PRs (30d)
13

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/monaco-editor

All issues in microsoft/monaco-editor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.