Skip to content

Esbuild bundles the node version of the dependencies #6096

Description

@CGNonofr

Details

  • Browser and browser version:
  • OS version:
  • xterm.js version:

Steps to reproduce

  1. install @xterm/addon-ligatures in a vite project
  2. At runtime, there are some t.getChannel is not a function, because the bundled version of lru-cache relies on a node:diagnostics_channel which doesn't exist in the browser

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