You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Quill,Delta,Attributor}from'quill';// or for backwards compatibility:importQuill,{Delta,Attributor}from'quill';
I checked Quill's package.json and both quill-delta and parchment are already defined as dependencies, so in terms of bundle size, this would/should not change much, I suppose?
The text was updated successfully, but these errors were encountered:
Would it be possible to re-export the classes and types/interfaces from
quill-delta
andparchment
?Reason for asking is that in our projects, we have set up the [
import/no-extraneous-dependencies
] (https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md) eslint rule. So when we want to importDelta
or a type/class fromparchment
, we have to addquill-delta
as a direct dependency to our package.json (or ignore the eslint rule in the file).Ideally, it would be possible to import like so:
I checked Quill's package.json and both
quill-delta
andparchment
are already defined as dependencies, so in terms of bundle size, this would/should not change much, I suppose?The text was updated successfully, but these errors were encountered: