From 3ca5ec1cf2976c032576fe39837e6cb37d1bb9b7 Mon Sep 17 00:00:00 2001 From: Peter Blazejewicz Date: Fri, 10 Jun 2016 22:32:06 +0200 Subject: [PATCH] Update command name for bundling This commit adds Bundler command to script section of the project file See: aspnet/Templates@8b42fc6 Thanks! --- templates/projects/web/project.json | 1 + templates/projects/webbasic/project.json | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/projects/web/project.json b/templates/projects/web/project.json index 7f2515d3..ee545064 100755 --- a/templates/projects/web/project.json +++ b/templates/projects/web/project.json @@ -113,6 +113,7 @@ }, "scripts": { + "precompile": [ "dotnet bundle" ], "prepublish": [ "bower install" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] }, diff --git a/templates/projects/webbasic/project.json b/templates/projects/webbasic/project.json index 1bfb59f2..2abce44c 100755 --- a/templates/projects/webbasic/project.json +++ b/templates/projects/webbasic/project.json @@ -76,6 +76,7 @@ }, "scripts": { + "precompile": [ "dotnet bundle" ], "prepublish": [ "bower install" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] },