remove warning during compile
[WDS] Warnings while compiling.
../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.
../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.[WDS] Warnings while compiling.
../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.
I removed enableIvy: true from tsconfig.app.json then the warning disappeared
Hi @mohijalili
Did you enable Ivy? If so, there is an issue here
Hi @mohijalili
Did you enable Ivy? If so, there is an issuehere
Hey @mehrad-rafigh
Yes, it's enabled by default. it seems it will be fixed in next update. Thanks bro.
You're welcome :)
Would you please close the issue, since it is not related to NX?
tsconfig.app.json
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"types": []
},
"include": [
"src/**/*.ts"
],
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}
Is it safe to delete the file in question if it is unused?
Is it safe to delete the file in question if it is unused?
No , the production build will fail
Most helpful comment
You're welcome :)
Would you please close the issue, since it is not related to NX?