drupal-project icon indicating copy to clipboard operation
drupal-project copied to clipboard

Make zaporylie/composer-drupal-optimizations a dev dependency?

Open mikemccaffrey opened this issue 4 years ago • 1 comments

The package readme for zaporylie/composer-drupal-optimizations instructs you to require it as a dev dependency, since it is only intended to be effective on updates and requires: https://github.com/zaporylie/composer-drupal-optimizations

Is there any reason that it should be a non-dev dependency? Does it do something to improve composer performance on a simpler composer install?

mikemccaffrey avatar Mar 02 '20 20:03 mikemccaffrey

It was added in https://github.com/drupal-composer/drupal-project/pull/442 to reduce the memory usage in general. Ping @zaporylie.

normanlolx avatar Mar 02 '20 20:03 normanlolx

The plugin is not needed with Composer 2.

webflo avatar Oct 06 '22 20:10 webflo