darkreader / darkreader/darkreader
[Dependency] @rollup/plugin-typescript does not produce good warnings
Open
bug
- Dominant language
- TypeScript
- Stars
- 22.4k
- Forks
- 2.7k
- Avg merge
- 21h 11m
- Merged PRs (30d)
- 78
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.