<!-- ⚠️ Please search existing issues to avoid creating duplicates. ⚠️ --> <!-- Describe the bug here. --> ## Details - Browser and browser version: - OS version: - xterm.js version: ### Steps to reproduce 1. install @xterm/addon-ligatures in a vite project 3. 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