Templating 343 B

12345678910111213141516171819202122232425262728
  1. commit fa386c458b74936f8ee30f7f53d0f44afadcdc2a
  2. Author: Steve Sanderson <[email protected]>
  3. Date: Tue Jan 2 09:34:11 2018 +0000
  4. Remove bogus BuildServerSideRenderer property from React-Redux csproj. #1457
  5. diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in
  6. index a01c2e73e13..ed69d98c5e1 100644
  7. --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in
  8. +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in
  9. @@ -8,9 +8,6 @@
  10. <IsPackable>false</IsPackable>
  11. <SpaRoot>ClientApp\</SpaRoot>
  12. <DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
  13. -
  14. - <!-- Set this to true if you enable server-side prerendering -->
  15. - <BuildServerSideRenderer>false</BuildServerSideRenderer>
  16. </PropertyGroup>
  17. <ItemGroup Condition="'$(TargetFrameworkOverride)' == ''">
  18. @@ -52,7 +49,6 @@
  19. <!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
  20. <Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
  21. <Exec WorkingDirectory="$(SpaRoot)" Command="npm run build" />
  22. - <Exec WorkingDirectory="$(SpaRoot)" Command="npm run build:ssr" Condition=" '$(BuildServerSideRenderer)' == 'true' " />
  23. <!-- Include the newly-built files in the publish output -->
  24. <ItemGroup>