GeekInc.AspNetCore.SassCompiler
1.1.1
dotnet add package GeekInc.AspNetCore.SassCompiler --version 1.1.1
NuGet\Install-Package GeekInc.AspNetCore.SassCompiler -Version 1.1.1
<PackageReference Include="GeekInc.AspNetCore.SassCompiler" Version="1.1.1" />
paket add GeekInc.AspNetCore.SassCompiler --version 1.1.1
#r "nuget: GeekInc.AspNetCore.SassCompiler, 1.1.1"
// Install GeekInc.AspNetCore.SassCompiler as a Cake Addin
#addin nuget:?package=GeekInc.AspNetCore.SassCompiler&version=1.1.1
// Install GeekInc.AspNetCore.SassCompiler as a Cake Tool
#tool nuget:?package=GeekInc.AspNetCore.SassCompiler&version=1.1.1
GeekInc.AspNetCore.SassCompiler
Build your sass files on top of MSBuild using dart-sass natively
inside Visual Studio or Visual Studio Code.
Instructions
Just write :
"Sass" : {
"SourceFolder": "MyFolder",
"DestinationFolder" : "wwwroot/yourfolderstyle"
}
in your appsettings.json or appsettings.Development.json file and you're good to go.
If nothing is present in your appsettings, it will use a folder called Styles
as a source folder
for your SASS files and compile to wwwroot/css folder by default.
It's also suitable to use services.AddSass() only in debug mode.
So just write in Startup.cs
#if DEBUG
services.AddSass();
#endif
so you don't have to reload your project every time and just write your sass code
as it will watch your source folder and compile automatically
for you during your development.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Use dart-sass 1.37.5
Supports appsettings files