svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Preview component has Error if we use @ubeac/svelte package in other projects

Open TheHadiAhmadi opened this issue 2 years ago • 0 comments

Preview component depends on 'prismjs' and 'prism-svelte' packages.

I have error from 'prism-svelte' which says Prism object is not defined.

@pournasserian what do you think if we remove Preview from npm package?

Preview is used only in our documentation site, and most of projects will not need this.

TheHadiAhmadi avatar Dec 20 '22 18:12 TheHadiAhmadi