Closed CodeOtter closed 5 years ago
Aha! This is a problem between the interaction of nyc
, esm
, and ava
Going to close ticket, but leave it here in case some poor soul stumbles across this problem in the future!
How did you solve the issue?
I didn't and, instead, I've opened up a new request for #790 to allow user overrides of .terserrc
to turn off compress
and mangle
My
package.json
has the following entriesWhen I run
ava
, errors return extreme wrong line numbers.No .babelrc exists. No other configuration override exists.
I did not have this problem a week ago. :( I moved to ESM from Babel so I could get away from the utter insanity that is permanently-alpha transpiling and endlessly mangled line numbers, but alas, it found me here, too :(