tiptap-vuetify icon indicating copy to clipboard operation
tiptap-vuetify copied to clipboard

how can I decrease tiptap-vuetify build size

Open yaki6 opened this issue 5 years ago • 1 comments

image I am using tiptap-vuetify in my SPA. The editor is only needed in certain pages. After the build, I found the chunk-vendors is huge so that vue cli is reminding me entry point size limitation.

I have two questions:

  1. I am now importing tiptap-vuetify in main.js. Is there a way that I can import tiptap-vuetify upon need so that I don't have to load it on my homepage?
  2. Is tiptap-vuetify resuing the components from vuetify, tiptap, and tiptap-extensions during the build? They showed up in the final buildup but I have not imported both tiptap and tiptap-extension in my package.json so I think tiptap-vuetify is relying on them as dependencies. Is there a way to optimize the build size?

Thanks.

yaki6 avatar Sep 03 '20 04:09 yaki6

Having the same issue, anyone gotten a fix?

BobTheShoplifter avatar Oct 11 '21 21:10 BobTheShoplifter