Reputation: 464
Currently i want to import all stylus file in /src
folder, so i want put a stylus file
- src
| + index.styl
And put something into it like this:
@import '*./styl'
But you know, it will recursively import itself, too. So how to avoid this?
Upvotes: 0
Views: 492
Reputation: 464
Ok, i've just found solution myself following this answer. I do something like this:
@import './!(index)*.styl'
Then, it works!
Upvotes: 2