Info
Version: | 1.13.16 |
Author(s): | Andrey Taritsyn |
Last Update: | Wednesday, January 10, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Taritsyn/BundleTransformer |
NuGet Url: | https://www.nuget.org/packages/BundleTransformer.SassAndScss |
Install
Install-Package BundleTransformer.SassAndScss
dotnet add package BundleTransformer.SassAndScss
paket add BundleTransformer.SassAndScss
BundleTransformer.SassAndScss Download (Unzip the "nupkg" after downloading)
Dependencies
- BundleTransformer.Core(>= 1.10.0)
- AdvancedStringBuilder(>= 0.1.0)
- LibSassHost(>= 1.3.2)
Tags
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.10 (supports the Dart Sass (https://github.com/sass/dart-sass) version 1.69.7). 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.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 (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines).