DartSassHost 1.0.0-preview7

This is a prerelease version of DartSassHost.
Install-Package DartSassHost -Version 1.0.0-preview7
dotnet add package DartSassHost --version 1.0.0-preview7
<PackageReference Include="DartSassHost" Version="1.0.0-preview7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DartSassHost --version 1.0.0-preview7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DartSassHost, 1.0.0-preview7"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DartSassHost as a Cake Addin
#addin nuget:?package=DartSassHost&version=1.0.0-preview7&prerelease

// Install DartSassHost as a Cake Tool
#tool nuget:?package=DartSassHost&version=1.0.0-preview7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET wrapper around the Dart Sass (https://github.com/sass/dart-sass) version 1.43.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 (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).

NuGet packages (1)

Showing the top 1 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 (https://github.com/Taritsyn/DartSassHost) version 1.0.0 Preview 3 (supports the Dart Sass (https://github.com/sass/dart-sass) version 1.36.0). Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset. As a JS engine is used the JavaScript Engine Switcher library (https://github.com/Taritsyn/JavaScriptEngineSwitcher). For correct working of this module, you need to install one of the following NuGet packages: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-preview7 108 11/5/2021
1.0.0-preview6 215 9/8/2021
1.0.0-preview5 64 9/1/2021
1.0.0-preview4 254 8/12/2021
1.0.0-preview3 679 7/29/2021
1.0.0-preview2 132 7/23/2021
1.0.0-preview1 45 7/22/2021

1. Added support of the Dart Sass version 1.43.4;
2. In compilation options was added three new properties: `Charset` (default `true`), `WarningLevel` (default `Default`) and `QuietDependencies` (default `false`);
3. Fragments of source code is now added to warning messages;
4. Call stack is now added to compilation exceptions and error messages.