WARNING in
project_path/environment.preprod.ts is part of the TypeScript compilation but it's unused. Add only entry points to the 'files' or 'include' properties in your tsconfig.
WARNING in project_path/app-animation.ts is part of the TypeScript compilation but it's unused. Add only entry points to the 'files' or 'include' properties in your tsconfig.
like above warings i have sevral error i got this waring while updating my angular project version from 9 to 10
and my tscongif.app.json looks like
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"baseUrl": "./",
"module": "es2015",
"types": ["node"]
},
"exclude": [
"test.ts",
"**/*.spec.ts",
"**/*.worker.ts"
],
"files": [
"main.ts",
"polyfills.ts"
],
"include": [
"**/*.ts",
"**/*.d.ts"
]
}
Aucun commentaire:
Enregistrer un commentaire