I updated from Angular 7 to Angular 9 and now getting a bunch of errors similar to this one.
WARNING in C:\Users\DEV-SYS\Documents\GitHub\Angular-7\src\environments\environment.prod.ts is part of the TypeScript compilation but it's unused. Add only entry points to the 'files' or 'include' properties in your tsconfig.
One way to get rid of them would be to delete the file but since i might need the one or other later, how can i tell the system not to try to compile ? I tried adding the below to my tsconfig.app.json with not much luck.
"exclude": [
"test.ts",
"**/*.spec.ts",
"environment.prod.ts"
]
What am i missing here ?