Skip to content

Commit

Permalink
[master] Used vs 2015 to bundle css files.
Browse files Browse the repository at this point in the history
  • Loading branch information
gqy117 committed May 14, 2016
1 parent 615df47 commit 7ee01e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions WebSite/Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ gulp.task('watch', function() {
gulp.watch(jsPath, ['jshint']);
gulp.watch(tsPath, ['ts']);
gulp.watch(tsPath, ['tslint']);
gulp.watch(tsPath, ['bundle-css']);
// gulp.watch(tsPath, ['bundle-css']);
});

// init
gulp.task('default', ['jshint', 'ts', 'tslint', 'bundle-css']);
gulp.task('default', ['jshint', 'ts', 'tslint']);
2 changes: 1 addition & 1 deletion WebSite/WebTool/App_Start/Bundle/BundleConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static class BundleConfig
public static void RegisteCSS(BundleCollection bundles)
{
var cssBundle = new StyleBundle("~/Content/AllCSS");
cssBundle.Include("~/Content/all.css");
cssBundle.Include("~/Content/all.min.css");

bundles.Add(cssBundle);
}
Expand Down
4 changes: 2 additions & 2 deletions WebSite/WebTool/bundleconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
// all.css
/*{
{
"outputFileName": "Content/all.css",
"inputFiles": [
"Content/assets/bootstrap/css/bootstrap.min.css",
Expand All @@ -23,7 +23,7 @@
"commentMode": "none",
"outputMode": "singleLine"
}
},*/
},

// main.js
{
Expand Down

0 comments on commit 7ee01e2

Please sign in to comment.