Skip to content

Instantly share code, notes, and snippets.

@sayedihashimi
Created February 7, 2020 19:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayedihashimi/48ac9c92cc57c555130a97c53ec4e7aa to your computer and use it in GitHub Desktop.
Save sayedihashimi/48ac9c92cc57c555130a97c53ec4e7aa to your computer and use it in GitHub Desktop.
<ItemGroup>
<!-- Don't publish the SPA source files, but do show them in the project files list -->
<Content Remove="$(SpaRoot)**" />
<!-- remove duplicate .json files from Content -->
<Content Remove="appsettings.json;appsettings.Development.json;bundleconfig.json" />
<Content Include="appsettings.json" Condition="Exists('appsettings.json')" />
<Content Include="appsettings.Development.json" Condition="Exists('appsettings.Development.json')" />
<Content Include="bundleconfig.json" Condition="Exists('bundleconfig.json')" />
<!-- remove .ts files from None, they should be in TypeScriptCompile instead -->
<None Remove="**/*.ts" />
</ItemGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment