Skip to content

Improve Composer dependency handling in Lite build #88

Closed
@raamdev

Description

@raamdev

@raamdev writes...

I noticed that the composer.json file that ends up in Lite-generated build includes a reference to the html-compressor; that shouldn't be in there, should it? https://github.com/jaswsinc/comet-cache/blob/000000-dev/composer.json#L34
And also references to css-minifier and js-minfier in https://github.com/jaswsinc/comet-cache/blob/000000-dev/composer.lock

@jaswsinc writes...

Ah, right. Nope, those don't ​_need_​ to be in there. We probably need to come up with a system for handling Composer dependencies better in the lite build. Another area that needs improvement with respect to Composer, is with require-dev. Currently, I have hard-coded exclusions for Bourbon and the i18n tools package, but really those should be excluded automatically from the final ZIPs, because those are for devs only

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