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

Import directories #1346

Closed
gagle opened this issue May 30, 2013 · 2 comments
Closed

Import directories #1346

gagle opened this issue May 30, 2013 · 2 comments

Comments

@gagle
Copy link

gagle commented May 30, 2013

If a directory is imported can you search for a file named "index.less" and import that file? If not, throw an exception because the rder of the imported files is important. It's the same funcionality that the node's require function.

My main file has:

@import "dir1/index";
@import "dir2/index";
@import "dir3/index";

And for me it's preferable to have:

@import "dir1";
@import "dir2";
@import "dir3";

What do you think?

@jonschlinkert
Copy link
Contributor

This was suggested by @lukeapage here #1181, but it's not technically a duplicate.

@lukeapage
Copy link
Member

I think it should be discussed on #1181 so closing as duplicate

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

3 participants