Closed yoozze closed 5 years ago
:+1:
The question now is whether or not this is the expected behavior or if the intended behavior is to bail if the includePath is not found in a matched path. I'd love to see a test for the use case of this behavior and I think that will help sort out if it should be controlled via an optional param.
A solution to the original issue described here was resolved in #79.
If you set
includePaths
option, relative search is completely skipped and only provided paths are searched, when resolving includes.This PR changes the way includes are resolved:
includePaths
if providedThis way you can use includes relative to current file and includes from predefined folders together without providing all possible file folders in
includePaths
.