I have a NuSpec file to create a NuGet package. I have some .js files that are minified and I don't want the original .js files in the NuGet package.
I have tried to use !
to not exclude minified files.
<files><file src="v1\**" target="v1" exclude="!v1\**\*.min.js;v1\**\*.js" /></files>
This only doesn't work, it will delete the .js
and .min.js
files.
What kind of syntax can I use to achieve this?