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

Wildcards in @import statement #1413

Closed
jeroenvisser101 opened this issue Jul 11, 2013 · 1 comment
Closed

Wildcards in @import statement #1413

jeroenvisser101 opened this issue Jul 11, 2013 · 1 comment

Comments

@jeroenvisser101
Copy link

I think it could be very functional (mainly for lazy programmers) to be able to use a wildcard character in the @import statement to include all *.less files in a directory. Below I've posted an example showing the way it would be used.

@import "../libs/bootstrap/less/*.less";

It would include all files in that directory, except for himself, if he exists in that directory. It would be very important to note that files in this directory that have @import statements in them, can cause infinite loops.

@jonschlinkert
Copy link
Contributor

Duplicate of #1181

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

2 participants