jsoverson / preprocess

Preprocess HTML, JavaScript, and other files with directives based off custom or ENV configuration
Other
366 stars 80 forks source link

Change the srcDir context attribute to be optional and default it to cwd #68

Closed BendingBender closed 9 years ago

BendingBender commented 9 years ago

At the moment, the srcDir context attribute has to be specified in order for the @include/@include-once/@extend to be able to find requested files. This can be however conveniently made optional by defaulting this attribute to current working directory while still letting the user to specify another directory if needed.

This would impose a breaking change.