Hi. It sounds like you just need to add it to .forceignore. IC typically does that for you automatically. Perhaps you disabled automatic updates to .forceignore? Anyway, if you just add that file, it won’t be included in the deployment.
Regards,
Scott Wells
Ah, this is an Ant-based deployment. Sorry, I overlooked that important fact. You’re correct that Ant does not use .forceignore. I’m not sure if there’s a way to exclude files with those tasks. You may need to add a step to the Ant target to either remove .tsconfig.json or move it out of the way and then restore it. Note that if removed, IC will regenerate it automatically if missing.
Regards,
Scott Wells