Using min versions of JS and CSS files

This commit is contained in:
lepipele
2018-01-30 14:41:46 -06:00
committed by nicolas.dorier
parent b6138b36be
commit c52926f2b0
4 changed files with 8 additions and 6 deletions

View File

@@ -104,6 +104,8 @@
<ItemGroup>
<Folder Include="Build\" />
<Folder Include="wwwroot\bundles\main\" />
<Folder Include="wwwroot\bundles\jqueryvalidate\" />
<Folder Include="wwwroot\vendor\clipboard.js\" />
</ItemGroup>

View File

@@ -17,10 +17,10 @@
<title>BTCPay Server</title>
@* CSS *@
<bundle name="wwwroot/bundles/main/bundle.css" />
<bundle name="wwwroot/bundles/main/bundle.min.css" />
@* JS *@
<bundle name="wwwroot/bundles/main/bundle.js" />
<bundle name="wwwroot/bundles/main/bundle.min.js" />
</head>
<body id="page-top">

View File

@@ -1,3 +1,3 @@
@addTagHelper *, Meziantou.AspNetCore.BundleTagHelpers
<bundle name="wwwroot/bundles/jqueryvalidate/bundle.js" />
<bundle name="wwwroot/bundles/jqueryvalidate/bundle.min.js" />

View File

@@ -1,6 +1,6 @@
[
{
"outputFileName": "wwwroot/bundles/main/bundle.css",
"outputFileName": "wwwroot/bundles/main/bundle.min.css",
"inputFiles": [
"wwwroot/vendor/bootstrap/css/bootstrap.css",
"wwwroot/vendor/magnific-popup/magnific-popup.css",
@@ -10,7 +10,7 @@
]
},
{
"outputFileName": "wwwroot/bundles/main/bundle.js",
"outputFileName": "wwwroot/bundles/main/bundle.min.js",
"inputFiles": [
"wwwroot/vendor/jquery/jquery.js",
"wwwroot/vendor/popper/popper.js",
@@ -22,7 +22,7 @@
]
},
{
"outputFileName": "wwwroot/bundles/jqueryvalidate/bundle.js",
"outputFileName": "wwwroot/bundles/jqueryvalidate/bundle.min.js",
"inputFiles": [
"wwwroot/vendor/jquery-validate/jquery.validate.js",
"wwwroot/vendor/jquery-validate-unobtrusive/jquery.validate.unobtrusive.js"