Closed
Description
During the build process (i.e., in the .~build/[dir]
phase), we should run Composer a second time and with an additional flag that will be sure to exclude all require-dev
dependencies, as these should never be included in any official build of the software for redistribution.
At the moment, we have some hard-coded exclusions to work around this issue already, but moving forward this is going to become a bigger problem. Particularly when it comes to the WPSC.
Referencing install
option: --no-dev
:
https://getcomposer.org/doc/03-cli.md#install