Skip to content

Commit

Permalink
Make preprocessor optional again (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton authored and webpro committed Feb 5, 2018
1 parent 346503d commit 2738baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function parseAssetsPath(assets) {
}

function parsePreprocessorArg(preprocessor) {
if(!_.startsWith(preprocessor, '/')) {
if(preprocessor && !_.startsWith(preprocessor, '/')) {
preprocessor = path.join(process.cwd(), preprocessor);
}
return preprocessor ? require(preprocessor) : _.identity;
Expand Down

0 comments on commit 2738baa

Please sign in to comment.