metonym / svelte-highlight

Syntax Highlighting for Svelte using highlight.js
https://svhe.onrender.com
MIT License
262 stars 14 forks source link

What is the rollup equivalent #239

Closed pjebs closed 1 year ago

pjebs commented 2 years ago
optimizeDeps: {
    include: ["highlight.js", "highlight.js/lib/core"],
  },

I'm using only rollup (no sveltekit). It doesn't seem to understand this config.

metonym commented 1 year ago

Rollup doesn't use/require optimizeDeps. See the example Rollup set-up.