Skip to content

Commit 697d867

Browse files
committedOct 6, 2017
Ignore minified files.
Adds a reference to BuildBundlerMinifier to minify the site CSS and JavaScript during build so that these can be omitted from version control. This makes the repository cleaner.
1 parent cdf0ac2 commit 697d867

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed
 

‎.gitignore

+7-1
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,10 @@ paket-files/
258258

259259
# Python Tools for Visual Studio (PTVS)
260260
__pycache__/
261-
*.pyc
261+
*.pyc
262+
263+
# Minified files
264+
site.min.*
265+
266+
# VS Code
267+
.vscode/

‎swlsimNET/swlsimNET.csproj

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
32
<PropertyGroup>
43
<TargetFramework>netcoreapp2.0</TargetFramework>
54
</PropertyGroup>
6-
75
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
86
<WarningsAsErrors>NU1605</WarningsAsErrors>
97
</PropertyGroup>
10-
118
<ItemGroup>
129
<Compile Remove="Data\**" />
1310
<Content Remove="Data\**" />
1411
<EmbeddedResource Remove="Data\**" />
1512
<None Remove="Data\**" />
1613
</ItemGroup>
17-
1814
<ItemGroup>
15+
<PackageReference Include="BuildBundlerMinifier" Version="2.5.357" />
1916
<PackageReference Include="Expressions" Version="0.1.3" NoWarn="NU1701" />
2017
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
2118
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" />
2219
</ItemGroup>
23-
2420
<ItemGroup>
2521
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
2622
</ItemGroup>
27-
2823
<ItemGroup>
2924
<Folder Include="Views\Shared\" />
3025
<Folder Include="wwwroot\css\" />
3126
<Folder Include="wwwroot\images\" />
3227
</ItemGroup>
33-
34-
</Project>
28+
</Project>

‎swlsimNET/wwwroot/css/site.min.css

-1
This file was deleted.

‎swlsimNET/wwwroot/js/site.min.js

Whitespace-only changes.

0 commit comments

Comments
 (0)
Please sign in to comment.