Skip to content

Commit

Permalink
emit file event on imports. Fix stackcss#55
Browse files Browse the repository at this point in the history
  • Loading branch information
mciparelli committed Jul 16, 2016
1 parent 38d127b commit 6214862
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 @@ -114,6 +114,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 6214862

Please sign in to comment.