darkreader / darkreader/darkreader

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

Open
#9,823 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.