Skip to content

Commit 18c485d

Browse files
authored
chore(Sass): move sass dept into targets (#4564)
1 parent 0c5707b commit 18c485d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/BootstrapBlazor/Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@
6363
<PackageReference Include="System.Text.Json" Version="$(NET9Version)" />
6464
</ItemGroup>
6565

66-
<ItemGroup>
67-
<PackageReference Include="AspNetCore.SassCompiler" Version="1.80.4" Condition="'$(Configuration)'=='Debug' and '$(TargetFramework)' == 'net8.0'" />
68-
</ItemGroup>
69-
7066
<ItemGroup>
7167
<SupportedPlatform Include="browser" />
7268
</ItemGroup>

src/BootstrapBlazor/Directory.Build.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<Project>
22

3+
<ItemGroup>
4+
<PackageReference Include="AspNetCore.SassCompiler" Version="1.79.5" Condition="'$(Configuration)'=='Debug' and '$(TargetFramework)' == 'net8.0'" />
5+
</ItemGroup>
6+
37
<Target Name="CopyCss" AfterTargets="Build" Condition="'$(TargetFramework)' == 'net8.0'">
48
<Message Text="Copy bootstrap assets ..." Importance="high"></Message>
59
<Copy SourceFiles="$(MSBuildThisFileDirectory)wwwroot/core/bootstrap/js/bootstrap.bundle.min.js" DestinationFiles="$(MSBuildThisFileDirectory)wwwroot/js/bootstrap.blazor.bundle.min.js" SkipUnchangedFiles="true" ></Copy>

0 commit comments

Comments
 (0)