Skip to content

Improve Composer require-dev During Build #90

Closed
@jaswrks

Description

@jaswrks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions