Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gerardo-rodriguez opened this issue Nov 9, 2018 · 0 comments
Open

Comments

@gerardo-rodriguez
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant