Skip to content

Commit cf1a5b1

Browse files
authored
chore(Sass): update sass/bundle/minify config (#2022)
1 parent b179a1f commit cf1a5b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Version.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project>
22

3-
<Target Name="Version" AfterTargets="CompileTypeScriptWithTSConfig" BeforeTargets="BeforeCompile" Condition="'$(Configuration)' == 'Release' and '$(TargetFramework)' == 'net5.0'">
3+
<Target Name="Version" AfterTargets="CompileTypeScriptWithTSConfig" BeforeTargets="BeforeCompile" Condition="'$(Configuration)' == 'Release' and '$(TargetFramework)' == 'net6.0'">
44
<Exec Command="dotnet tool restore"></Exec>
55
<Exec Command="dotnet jsver $(MSBuildProjectDirectory) $(MSBuildProjectFullPath)"></Exec>
66
</Target>
77

8-
<Target Name="Revert" AfterTargets="Pack" Condition="'$(Configuration)' == 'Release' and '$(TargetFramework)' == 'net5.0'">
8+
<Target Name="Revert" AfterTargets="Pack" Condition="'$(Configuration)' == 'Release' and '$(TargetFramework)' == 'net6.0'">
99
<Exec Command="dotnet jsver $(MSBuildProjectDirectory) $(MSBuildProjectFullPath) revert"></Exec>
1010
</Target>
1111

src/bundleconfig.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project>
22

33
<ItemGroup>
4-
<PackageReference Include="BuildBundlerMinifierPlus2022" Version="5.2.2" Condition="'$(Configuration)'=='Debug' and '$(TargetFramework)' == 'net5.0'" />
4+
<PackageReference Include="BuildBundlerMinifierPlus2022" Version="5.2.2" Condition="'$(Configuration)'=='Debug' and '$(TargetFramework)' == 'net6.0'" />
55
</ItemGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="BuildWebCompiler2022" Version="1.14.10" Condition="'$(Configuration)' == 'Debug' and '$(OS)' == 'Windows_NT' and '$(TargetFramework)' == 'net5.0'" />
8+
<PackageReference Include="BuildWebCompiler2022" Version="1.14.10" Condition="'$(Configuration)' == 'Debug' and '$(OS)' == 'Windows_NT' and '$(TargetFramework)' == 'net6.0'" />
99
</ItemGroup>
1010

1111
</Project>

0 commit comments

Comments
 (0)