Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't remove unwanted extensions (Katex, Mermaid, Codemirror) #55

Open
jaybo opened this issue Mar 29, 2021 · 0 comments
Open

Can't remove unwanted extensions (Katex, Mermaid, Codemirror) #55

jaybo opened this issue Mar 29, 2021 · 0 comments

Comments

@jaybo
Copy link

jaybo commented Mar 29, 2021

I'm trying to avoid importing RecommendedExtensions and have created my own alternate which doesn't include Katex, Mermaid, and Codemirror. since these three extensions use 1.8MB and I don't need these particular features. But even so, my quasar webpack includes these modules. I presume this is because /src/components/QuasarTiptap.vue imports the world anyway:

  ...
  OKatexBlock,
  OKatexInline,
  OFormatClear,
  OPrint,
  OImage,
  OEmbed,
  RecommendedExtensions
} from 'src/extentions'

image

So, is there anyway to prevent these large extensions from loading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant