Skip to content

Is it possible to control sorting of hyphenated filenames? #29

Description

@gerardo-rodriguez

Before we started using postcss-easy-import, stylesheets were included manually, like so:

@import "./components/input.css";
@import "./components/input-extra.css";
@import "./components/input-group.css";

Now that we are using postcss-easy-import we don't have to do that, we can do:

@import "./components/*";

The problem is that it seems to be importing stylesheets without hyphenation last. So the above will actually end up being equivalent to:

@import "./components/input-extra.css";
@import "./components/input-group.css";
@import "./components/input.css";

Might there anyway to control the sort order? Ideally some sort of natural sort would take into effect. Thanks for your time!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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