DartSassHost 1.0.0-preview3
See the version list below for details.
dotnet add package DartSassHost --version 1.0.0-preview3
NuGet\Install-Package DartSassHost -Version 1.0.0-preview3
<PackageReference Include="DartSassHost" Version="1.0.0-preview3" />
paket add DartSassHost --version 1.0.0-preview3
#r "nuget: DartSassHost, 1.0.0-preview3"
// Install DartSassHost as a Cake Addin #addin nuget:?package=DartSassHost&version=1.0.0-preview3&prerelease // Install DartSassHost as a Cake Tool #tool nuget:?package=DartSassHost&version=1.0.0-preview3&prerelease
.NET wrapper around the Dart Sass (https://github.com/sass/dart-sass) version 1.36.0 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 (https://github.com/Taritsyn/JavaScriptEngineSwitcher). For correct working, you need to install one of the following NuGet packages:
* JavaScriptEngineSwitcher.ChakraCore
* JavaScriptEngineSwitcher.V8
* JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes)
After installing the packages, you will need to register the default JS engine (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. |
.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 was computed. |
.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. |
-
.NETFramework 4.0 Client
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- Newtonsoft.Json (>= 12.0.3)
- PolyfillsForOldDotNet.System.Runtime.InteropServices.RuntimeInformation (>= 0.1.1)
-
.NETFramework 4.5
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- Newtonsoft.Json (>= 12.0.3)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0)
-
.NETFramework 4.7.1
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 1.3
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 2.0
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 2.1
- AdvancedStringBuilder (>= 0.1.0)
- JavaScriptEngineSwitcher.Core (>= 3.1.0)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (5)
Showing the top 5 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. |
|
Abstractions.Sass.CIBuild
Enable CI build support for the Abstractions Sass Compiler availible from Visual Studio Marketplace |
|
vamdemofeed
Package Description |
|
Abstractions.Sass.CrossPlatformChakraCore
Bundles native implementations of ChakraCore for Windows, Linux, and OSX. |
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 | 5,092 | 8/27/2024 |
1.0.13 | 38,375 | 6/5/2024 |
1.0.12 | 7,097 | 3/22/2024 |
1.0.11 | 10,810 | 2/16/2024 |
1.0.10 | 85,804 | 1/7/2024 |
1.0.9 | 342 | 1/5/2024 |
1.0.8 | 9,439 | 10/19/2023 |
1.0.7 | 1,270 | 9/26/2023 |
1.0.6 | 12,795 | 8/25/2023 |
1.0.5 | 14,184 | 7/27/2023 |
1.0.4 | 10,934 | 6/15/2023 |
1.0.3 | 4,045 | 4/26/2023 |
1.0.2 | 11,395 | 3/9/2023 |
1.0.1 | 228,066 | 12/26/2022 |
1.0.0 | 4,131 | 12/18/2022 |
1.0.0-preview9 | 5,018 | 12/9/2022 |
1.0.0-preview8 | 5,403 | 7/13/2022 |
1.0.0-preview7 | 11,933 | 11/5/2021 |
1.0.0-preview6 | 1,249 | 9/8/2021 |
1.0.0-preview5 | 251,207 | 9/1/2021 |
1.0.0-preview4 | 3,964 | 8/12/2021 |
1.0.0-preview3 | 5,997 | 7/29/2021 |
1.0.0-preview2 | 724 | 7/23/2021 |
1.0.0-preview1 | 613 | 7/22/2021 |
1. Added support of the Dart Sass version 1.36.0;
2. Now can use the JavaScriptEngineSwitcher.V8 as a JS engine.