In @tuleap/ckeditor-image-upload
, we depend on tus-js-client
and @tuleap/tlp-fetch
. In @tuleap/plugin-tracker-artifact-ckeditor-image-upload
we add several more dependencies, like @tuleap/gettext
and sprintf-js
.
We should mark those dependencies as "external" so that our bundlers have a chance to deduplicate them (we should be using the same version everywhere). For example, @tuleap/plugin-tracker-artifact-modal
also uses tus-js-client
and @tuleap/tlp-fetch
. It would reduce the final bundle sizes for our users, as we would be using one version of those libs instead of several.