Replies: 2 comments 6 replies
-
We also have the same problem: what should we do with the issues in the generated JS of an Angular application. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Our recommendation is to add |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After heaving set up CodeQL scanning it found some issue in the generated JavaScript files in the dist folder.
The file is generated by webpack and, hence, not kept in the repo.
That is why we cannot see where the issue is coming from:
Even if we had the file in the repository, it would be challenging to understand the problems in the minified JavaScript code. Additionally, it would be difficult to determine how to modify the original sources to address these issues.
My question is, how to handle these cases efficiently?
I could of course add the
dist
folder topaths-ignore
. However, I am hesitant to ignore the code that is actually executed in the end and only scan the code that is used as input for webpack.Beta Was this translation helpful? Give feedback.
All reactions