Skip to content

Commit

Permalink
refactor(generator): add check for .scss
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Jan 3, 2019
1 parent 59bc392 commit 4093cf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/matcher/generator.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const originalLoader = Module._load

Module._load = function _load (request, parent) {
if (request.endsWith('.styl')) return
if (request.endsWith('.scss')) return
else return originalLoader(request, parent)
}

Expand Down

0 comments on commit 4093cf3

Please sign in to comment.