Open beamcode opened 2 months ago
[Shiki] 10 instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call highlighter.dispose() to release unused instances.
highlighter.dispose()
Not sure if this is me or Rpc
@beamcode could you please please share a repro? either link to code or https://stackblitz.com/
Yeah happens on my simple personal website https://github.com/beamcode/beamcode.dev/
[Shiki] 10 instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call
highlighter.dispose()
to release unused instances.Not sure if this is me or Rpc