quasar-tiptap
quasar-tiptap copied to clipboard
Can't remove unwanted extensions (Katex, Mermaid, Codemirror)
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'
So, is there anyway to prevent these large extensions from loading?