Skip to content

Glob condition not working for style files #5

@abates

Description

@abates

I created a project using the ng-factory yeoman generator. When I create any custom .less files in /app/styles they are not run through gulp-less but simply copied to .tmp/styles and renamed with a .css extension. This then causes gulp-autoprefixer to error out since it doesn't recognize the less syntax.

I played with things a bit and determined that the glob condition is not evaluating true for style files. I changed this to a regex and it seems to work now. See pull request #4 for my solution.

If I'm doing something wrong, please let me know.

Regards,
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions