Skip to content

Support Vite Rolldown #968

@cpojer

Description

@cpojer

Hello! When using npm:vite-rolldown@latest instead of Vite, Monaco and related tooling seem to fail to load. In the console, I see language-configuration.json and package.nls.json files from the monaco-languageclient package 404'ing. In the integration I'm currently using, the concrete issue is that syntax highlighting doesn't work, as it fails to load the corresponding definitions for it.

It's unclear to me if the issue is this repo, or if it's esbuild-import-meta-url-plugin, so it would be great to get some guidance on what might be wrong. Rolldown Vite does indeed not support esbuildOptions, and instead has a rolldownOptions field, and I'm not entirely sure if they are 100% compatible.

The repro should be replacing Vite with vite-rolldown.

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