Commit 023bc3a7 authored by Clint Mourlevat's avatar Clint Mourlevat

Adding bundleconfig.json & minimisation

parent ce82bd26
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BuildBundlerMinifier" Version="2.8.391" />
<PackageReference Include="Microsoft.AspNetCore.App" /> <PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" /> <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="NStratis" Version="4.0.0.34" /> <PackageReference Include="NStratis" Version="4.0.0.34" />
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
<environment include="Development"> <environment include="Development">
<link href="~/css/default.css" rel="stylesheet" type="text/css"> <link href="~/css/default.css" rel="stylesheet" type="text/css">
</environment> </environment>
<environment exclude="Development">
<link href="~/css/default.min.css" rel="stylesheet" type="text/css">
</environment>
</head> </head>
<body> <body>
<header class="header-area"> <header class="header-area">
...@@ -52,7 +55,12 @@ ...@@ -52,7 +55,12 @@
<script src="~/js/parallax.min.js"></script> <script src="~/js/parallax.min.js"></script>
<script src="~/js/owl.carousel.min.js"></script> <script src="~/js/owl.carousel.min.js"></script>
<script src="~/js/particle-green.js"></script> <script src="~/js/particle-green.js"></script>
<script src="~/js/custom.js"></script> <environment include="Development">
<script src="~/js/default.js"></script>
</environment>
<environment exclude="Development">
<script src="~/js/default.min.js"></script>
</environment>
@RenderSection("Scripts", false) @RenderSection("Scripts", false)
</body> </body>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111742056-1"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-111742056-1"></script>
......
[
{
"outputFileName": "wwwroot/css/default.min.css",
"inputFiles": [
"wwwroot/css/default.css"
]
},
{
"outputFileName": "wwwroot/js/default.min.js",
"inputFiles": [
"wwwroot/js/default.js"
],
"minify": {
"enabled": true,
"renameLocals": true
},
"sourceMap": false
}
]
\ No newline at end of file
...@@ -1429,7 +1429,7 @@ welcome area ...@@ -1429,7 +1429,7 @@ welcome area
position: relative; position: relative;
background-image: url("/images/prodnews-hero.png"); background-image: url("/images/prodnews-hero.png");
background-size: cover; background-size: cover;
box-shadow: inset 0px 0px 10em #0006; box-shadow: inset 0px 0px 10em rgba(0, 0, 0, 0.6);
} }
.welcome-area.bg-top-right:before { .welcome-area.bg-top-right:before {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment