DartSassHost 1.0.14
dotnet add package DartSassHost --version 1.0.14
NuGet\Install-Package DartSassHost -Version 1.0.14
<PackageReference Include="DartSassHost" Version="1.0.14" />
paket add DartSassHost --version 1.0.14
#r "nuget: DartSassHost, 1.0.14"
// Install DartSassHost as a Cake Addin #addin nuget:?package=DartSassHost&version=1.0.14 // Install DartSassHost as a Cake Tool #tool nuget:?package=DartSassHost&version=1.0.14
.NET wrapper around the Dart Sass version 1.77.4 with the ability to support a virtual file system.
Since the original library is written in JavaScript, you will need a JS engine to run it. As a JS engine is used the JavaScript Engine Switcher library. For correct working, you need to install one of the following NuGet packages:
- JavaScriptEngineSwitcher.ChakraCore
- JavaScriptEngineSwitcher.Jint
- JavaScriptEngineSwitcher.Msie (only in the Chakra “Edge” JsRT mode)
- JavaScriptEngineSwitcher.V8
After installing the packages, you will need to register the default JS engine.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net40-client is compatible. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
-
.NETFramework 4.0 Client
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- Newtonsoft.Json (>= 13.0.3)
- PolyfillsForOldDotNet.System.Runtime.InteropServices.RuntimeInformation (>= 0.1.2)
-
.NETFramework 4.5
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0)
-
.NETFramework 4.7.1
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- System.Text.Json (>= 4.7.2)
-
.NETStandard 1.3
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- System.Text.Json (>= 4.7.2)
-
.NETStandard 2.1
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
- System.Text.Json (>= 4.7.2)
-
net6.0
- JavaScriptEngineSwitcher.Core (>= 3.24.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DartSassHost:
Package | Downloads |
---|---|
BundleTransformer.SassAndScss
BundleTransformer.SassAndScss contains one translator-adapter - `SassAndScssTranslator`. This adapter makes translation of Sass and SCSS code to CSS code by using the Dart Sass Host for .NET. Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset. |
|
LigerShark.WebOptimizer.Sass
Compiles Sass and Scss files for the LigerShark.WebOptimizer.Core system. |
|
vamdemofeed
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DartSassHost:
Repository | Stars |
---|---|
excubo-ag/WebCompiler
|
Version | Downloads | Last updated |
---|---|---|
1.0.14 | 931 | 8/27/2024 |
1.0.13 | 13,759 | 6/5/2024 |
1.0.12 | 6,004 | 3/22/2024 |
1.0.11 | 8,125 | 2/16/2024 |
1.0.10 | 67,875 | 1/7/2024 |
1.0.9 | 332 | 1/5/2024 |
1.0.8 | 8,816 | 10/19/2023 |
1.0.7 | 1,232 | 9/26/2023 |
1.0.6 | 10,124 | 8/25/2023 |
1.0.5 | 12,616 | 7/27/2023 |
1.0.4 | 10,769 | 6/15/2023 |
1.0.3 | 3,642 | 4/26/2023 |
1.0.2 | 11,149 | 3/9/2023 |
1.0.1 | 183,953 | 12/26/2022 |
1.0.0 | 4,114 | 12/18/2022 |
1.0.0-preview9 | 4,704 | 12/9/2022 |
1.0.0-preview8 | 5,379 | 7/13/2022 |
1.0.0-preview7 | 11,448 | 11/5/2021 |
1.0.0-preview6 | 1,239 | 9/8/2021 |
1.0.0-preview5 | 234,198 | 9/1/2021 |
1.0.0-preview4 | 3,915 | 8/12/2021 |
1.0.0-preview3 | 5,763 | 7/29/2021 |
1.0.0-preview2 | 716 | 7/23/2021 |
1.0.0-preview1 | 603 | 7/22/2021 |
Fixed a error #14 “Exception while reading compilation error”. Special thanks to Peter Wurzinger.