How to exclude output folder from typescript compile

The nuget package that’s created always includes the output folder even if I have an exclude in my nuspec. How can I exclude the typescript “output”, I am running an angular application and dont need the output of the typescript, just my “dist”.

Hi @jariahh,

Thanks for getting in touch. A Nuspec exclude rule should be taking care if this really.The only thing I can think of is that perhaps the rule expression might be off? Those expressions can be tricky to write (haven’t done it in years).

Which tool are you using to create the package? Is there any chance you can send me a full build log so I can check that? You can upload the log file to


Hey @Dalmiro

Thanks for getting back with me, I’ll try to put together a sample app of what I’m having issues with.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.