From 75d5c3695a6f501f0c174848c8f278f5ddf8983b Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 24 Feb 2017 11:21:28 -0800 Subject: [PATCH] Fix Identity.API and WebMVC publishing - upgrade BundlerMinifier.Core dependencies (fixes a globbing bug) - ensure minification includes all css - only copy what's needed in production to the publish directory --- .../Identity/Identity.API/Identity.API.csproj | 29 ++++++++++-------- .../Identity.API/Views/Shared/_Layout.cshtml | 12 ++++++-- .../Identity/Identity.API/bundleconfig.json | 2 +- src/Web/WebMVC/Views/Shared/_Layout.cshtml | 2 +- src/Web/WebMVC/WebMVC.csproj | 30 +++++++++---------- src/Web/WebMVC/bundleconfig.json | 2 +- src/Web/WebMVC/wwwroot/css/app.min.css | 1 - src/Web/WebMVC/wwwroot/css/site.min.css | 1 + 8 files changed, 44 insertions(+), 35 deletions(-) delete mode 100644 src/Web/WebMVC/wwwroot/css/app.min.css diff --git a/src/Services/Identity/Identity.API/Identity.API.csproj b/src/Services/Identity/Identity.API/Identity.API.csproj index b810aae66..2f56fd38d 100644 --- a/src/Services/Identity/Identity.API/Identity.API.csproj +++ b/src/Services/Identity/Identity.API/Identity.API.csproj @@ -14,18 +14,17 @@ - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - + + + + + + + + + + + @@ -66,7 +65,7 @@ - + @@ -78,4 +77,8 @@ + + + + diff --git a/src/Services/Identity/Identity.API/Views/Shared/_Layout.cshtml b/src/Services/Identity/Identity.API/Views/Shared/_Layout.cshtml index 5086d12ec..9d0a5ce8a 100644 --- a/src/Services/Identity/Identity.API/Views/Shared/_Layout.cshtml +++ b/src/Services/Identity/Identity.API/Views/Shared/_Layout.cshtml @@ -6,8 +6,16 @@ eShopOnContainers Identity - - + + + + + + + +