Problem/Motivation

While investigating the size of our vendor folder, we noticed that vendor/aws/ was one of the largest subfolders (~50 MB).
I see this dependency is only used by the ckeditor5_premium_features_ai_assistant submodule and we don't use it.

Steps to reproduce

Proposed resolution

Instead of requiring it, it could be suggested: https://getcomposer.org/doc/04-schema.md#suggest
The code using it would probably need to be adapted to throw a clean error when the library is not there.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

prudloff created an issue. See original summary.

mdusza’s picture

Hi @prudloff

We're currently investigating possible options to address this issue - we'll share an update once we know more.

franz-m’s picture

mdusza’s picture

An update from our side - we will be making external dependencies optional which should resolve the problem of installing unused libraries unnecessarily. The change will be shipped in the upcoming release, sometime this month.

salmonek’s picture

Status: Active » Fixed

Version 1.5.0 has been released. All third party dependencies are now optional.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.