Use a vinylFile in callback encodeResource