You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a compilation error, it seem the the thrown TransformFailure error's file property is always /input.js, even if the sourcefile option was passed.
It'd be great if that property could also reflect the sourcefile value
The text was updated successfully, but these errors were encountered:
Yes, this is a good point. I'm planning to unify the transform API with stdin/stdout support since they both are a way to do file-less input. This would be good to fix as a part of that unification.
When there is a compilation error, it seem the the thrown
TransformFailure
error'sfile
property is always/input.js
, even if thesourcefile
option was passed.It'd be great if that property could also reflect the
sourcefile
valueThe text was updated successfully, but these errors were encountered: