Gulp already minimises the CSS so we don't need prod specific declarations
This commit is contained in:
parent
3fca762a87
commit
45403a817b
1 changed files with 3 additions and 10 deletions
|
@ -17,16 +17,9 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] | Robware</title>
|
||||
|
||||
<environment include="Development">
|
||||
<link href="/css/style.css" rel="stylesheet" defer />
|
||||
<link href="/css/style-med.css?" media="(max-width:1023px)" rel="stylesheet" defer />
|
||||
<link href="/css/style-small.css" media="(max-width:680px)" rel="stylesheet" defer />
|
||||
</environment>
|
||||
<environment exclude="Development">
|
||||
<link href="/css/style.min.css" rel="stylesheet" defer defer asp-append-version="true"/>
|
||||
<link href="/css/style-med.min.css?" media="(max-width:1023px)" rel="stylesheet" defer defer asp-append-version="true"/>
|
||||
<link href="/css/style-small.min.css" media="(max-width:680px)" rel="stylesheet" defer defer asp-append-version="true"/>
|
||||
</environment>
|
||||
<style type="text/css">
|
||||
@RenderSection("CSS", required:false);
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue