Skip to content

Globbing Pattern seems wrong #11

Open
@danpottshimself

Description

@danpottshimself

so when I am trying to import a collection of less files into a sort of main less file, the globbing pattern does not work as it normally does.

star is my key for asterix *
starstar is two **

You would expect this to work:
@import "starstar/shared";
@import "starstar/phone";
@import "**/tablet";

The above would then go through all directories and sub-directories to find the files that match shared, phone and tablet. however, it does not.

When i use single stars (see below) it goes into the next directory and no further. Therefore i can't reach any further than one directory so reaching something like main/example/target.less would not work. However, main/target.less would.
@import "star/shared";
@import "star/phone";
@import "star/tablet";

Overall there seems to be an issue with using ** to go through multiple directories and I'm not quite sure.

I've tried ./**/shared; to ensure the directory base is correct and no avail.

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