Skip to content

Commit d8afe27

Browse files
author
Alexander Ryzhikov
committed
Fixed emitWarnings part
1 parent 3f5fcf9 commit d8afe27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const loader = function (source) {
9292
}
9393

9494
const emitWarnings = (result) => {
95+
result.warnings().forEach((msg) => this.emitWarning(msg.toString()))
9596
return result
9697
}
9798

0 commit comments

Comments
 (0)