aspnet / live.asp.net

Code for live.asp.net, which hosts the ASP.NET Community Stand-up
https://live.asp.net/
MIT License
289 stars 114 forks source link

Css file is not minified on Staging and Production environments #44

Closed Ky7m closed 9 years ago

Ky7m commented 9 years ago

I guess that it's just mechanical error, because in _Layout.cshtml file https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Shared/_Layout.cshtml#L21 we have <link rel="stylesheet" href="~/css/site.css" asp-file-version="true" />" instead "<link rel="stylesheet" href="~/css/site.min.css" asp-file-version="true" />" resulting, on production we get not minified file.

hishamco commented 9 years ago

You are right, but the file is not big, it will be nice if we use bundling after minification which almost done

peterblazejewicz commented 9 years ago

The default Gulp tasks are there: https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/gulpfile.js#L29 https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/gulpfile.js#L45

hishamco commented 9 years ago

Thanks @peterblazejewicz