darkreader
darkreader copied to clipboard
[Dependency] @rollup/plugin-typescript does not produce good warnings
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?