Skip to content

Commit

Permalink
emit file event on imports. Fix #55 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
mciparelli authored and ahdinosaur committed Jul 26, 2016
1 parent f625fbf commit f7d7838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function transform (filename, options) {
var resolvePath = cssResolve(node.arguments[0].value, {
basedir: path.dirname(filename)
})
self.emit('file', resolvePath)
} catch (err) {
return self.emit('error', err)
}
Expand Down

0 comments on commit f7d7838

Please sign in to comment.