darkreader icon indicating copy to clipboard operation
darkreader copied to clipboard

[Dependency] @rollup/plugin-typescript does not produce good warnings

Open bershanskiy opened this issue 4 years ago • 0 comments

It is possible to make @rollup/plugin-typescript print out descriptive TS error warnings by editing node_modules/@rollup/plugin-typescript/dist/index.js: inside of diagnosticToWarning function inside of if (diagnostic.file) bock add console.log(diagnostic.file.fileName) to print out file name (and any other relevant data).

Perhaps, this should be fixed in the upstream?

bershanskiy avatar Sep 14 '22 18:09 bershanskiy