We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! One benefit of Quill is that it is modular.
So you can import like this
import Quill from 'quill/core'; import Bold from 'quill/formats/bold'; import Italic from 'quill/formats/italic'; import Snow from 'quill/themes/snow'; import Toolbar from 'quill/modules/toolbar';
And load just the code you need and keep the bundle size reasonably low (40kb).
But because this lib is doing import Quill from "quill"; it causes quill to load either twice, or with some extra dependencies for me.
import Quill from "quill";
This happens with vite.
vite
quill-magic-url doesn't cause this issue. It doesn't do Quill.register for you and it only imports quill-delta, not whole quill.
quill-magic-url
Quill.register
quill-delta
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! One benefit of Quill is that it is modular.
So you can import like this
And load just the code you need and keep the bundle size reasonably low (40kb).
But because this lib is doing
import Quill from "quill";
it causes quill to load either twice, or with some extra dependencies for me.This happens with
vite
.quill-magic-url
doesn't cause this issue. It doesn't doQuill.register
for you and it only importsquill-delta
, not whole quill.The text was updated successfully, but these errors were encountered: