Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

Commit 43a97f4

Browse files
Update command name for bundling (#739)
This commit adds Bundler command to script section of the project file See: aspnet/Templates@8b42fc6 Thanks!
1 parent 2721f00 commit 43a97f4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

templates/projects/web/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
},
114114

115115
"scripts": {
116+
"precompile": [ "dotnet bundle" ],
116117
"prepublish": [ "bower install" ],
117118
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
118119
},

templates/projects/webbasic/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
},
7777

7878
"scripts": {
79+
"precompile": [ "dotnet bundle" ],
7980
"prepublish": [ "bower install" ],
8081
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
8182
},

0 commit comments

Comments
 (0)