Removing generated bundles from source control

This commit is contained in:
lepipele 2018-02-27 01:00:50 -06:00 committed by nicolas.dorier
parent 7e09efb9a3
commit dfa3167c18
5 changed files with 13 additions and 8 deletions

3
.gitignore vendored
View file

@ -287,3 +287,6 @@ __pycache__/
*.odx.cs
*.xsd.cs
/BTCPayServer/Build/dockerfiles
# Bundling JS/CSS
BTCPayServer/wwwroot/bundles/

View file

@ -7,9 +7,13 @@
</PropertyGroup>
<ItemGroup>
<Compile Remove="Build\dockerfiles\**" />
<Compile Remove="wwwroot\bundles\jqueryvalidate\**" />
<Content Remove="Build\dockerfiles\**" />
<Content Remove="wwwroot\bundles\jqueryvalidate\**" />
<EmbeddedResource Remove="Build\dockerfiles\**" />
<EmbeddedResource Remove="wwwroot\bundles\jqueryvalidate\**" />
<None Remove="Build\dockerfiles\**" />
<None Remove="wwwroot\bundles\jqueryvalidate\**" />
</ItemGroup>
<ItemGroup>
<None Remove="Currencies.txt" />
@ -104,8 +108,6 @@
<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.min.css" />
<bundle name="wwwroot/bundles/main-bundle.min.css" />
@* JS *@
<bundle name="wwwroot/bundles/main/bundle.min.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.min.js" />
<bundle name="wwwroot/bundles/jqueryvalidate-bundle.min.js" />

View file

@ -1,6 +1,6 @@
[
{
"outputFileName": "wwwroot/bundles/main/bundle.min.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.min.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.min.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"