This project has moved. For the latest updates, please go here.

Bundle Transformer: Sass and SCSS

BundleTransformer.SassAndScss contains translator-adapter SassAndScssTranslator. This adapter makes translation of Sass- and SCSS-code to CSS-code by using the LibSass Host for .NET version 1.0.3 (supports LibSass version 3.4.4). Also contains HTTP-handler SassAndScssAssetHandler, which is responsible for text output of translated Sass- or SCSS-asset.

This package does not contain the native implementations of LibSass for Windows. Therefore, you need to choose and install the most appropriate package(s) for your platform. The following packages are available:

For correct working of the LibSass Host requires msvcp140.dll assembly from the Visual C++ Redistributable for Visual Studio 2015.

To use a debugging HTTP-handlers in the IIS Classic mode, you need add to the /configuration/system.web/httpHandlers element of the Web.config file a following code:

<add path="*.sass" verb="GET"
  type="BundleTransformer.SassAndScss.HttpHandlers.SassAndScssAssetHandler, BundleTransformer.SassAndScss" />
<add path="*.scss" verb="GET"
  type="BundleTransformer.SassAndScss.HttpHandlers.SassAndScssAssetHandler, BundleTransformer.SassAndScss" />

Last edited Apr 7 at 6:07 PM by Taritsyn, version 17