Skip to content

excludeBundle error - Array to string conversion #68

@cluwong

Description

@cluwong

Trying to use excludeBundles property, but when the css item is in array format, it runs into exception error 'Array to string conversion'.
eg:

$css = [
    ['style.css', 'id' => 'myStyle'],
];

In 1.15.1, error is in MinifyComponent.php line 105.
I just realized there's V2, tested with this version and the error is in MinifyComponent.php line 112.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions