PlayNicely.Sass 1.4.0-beta-132

This is a prerelease version of PlayNicely.Sass.
There is a newer version of this package available.
See the version list below for details.
dotnet add package PlayNicely.Sass --version 1.4.0-beta-132                
NuGet\Install-Package PlayNicely.Sass -Version 1.4.0-beta-132                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PlayNicely.Sass" Version="1.4.0-beta-132">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PlayNicely.Sass --version 1.4.0-beta-132                
#r "nuget: PlayNicely.Sass, 1.4.0-beta-132"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PlayNicely.Sass as a Cake Addin
#addin nuget:?package=PlayNicely.Sass&version=1.4.0-beta-132&prerelease

// Install PlayNicely.Sass as a Cake Tool
#tool nuget:?package=PlayNicely.Sass&version=1.4.0-beta-132&prerelease                

Play Nicely - Sass

CSS is great but it does have its limitations, Sass is awesome but how do I get it to compile in my .NET project? That is the question that Play Nicely is here to answer.

This package adds npx package execution support for the (npm) sass transpiler into any .NET project.

Installation

Simply install this package into your project like any other NuGet dependency.

Install-Package PlayNicely.Sass

Getting Started

We recommend creating a node package, and adding sass as a dependency, before installing this package.

npm init -y
npm install sass

Once the sass npm package is installed, add this package as a dependency to the project (see Installation section).

That's it, this package will include any *.scss or *.sass files for transpilation, by default any file prefixed with _ (underscore) will not be transpiled, per sass' partial rules.

Configuration

By default, any *.sass or *.scss file will be transpiled. If the build property <SassIncludeDefaultItems/> is set to false, then you have to explicitly add <Sass Include="_your_file"/> items to your project.

Also by default, the sass source files and any .css.map files will be excluded from the published output. There are two ways to change this behaviour.

If you set property <SassPublishSource/> to true, then all sass source files and .css.map files will be published.

For more fine grained control, You can update specific <Sass/> items, set their metadata <PublishSource/> to true and the source and .css.map for that file will be published.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.2-beta-191 71 10/4/2024
1.4.2-beta-181 71 9/28/2024
1.4.2-beta-171 65 9/27/2024
1.4.2-beta-167 76 9/26/2024
1.4.2-beta-165 74 9/26/2024
1.4.2-beta-163 68 9/26/2024
1.4.1 92 9/26/2024
1.4.1-beta-159 81 9/26/2024
1.4.0 135 9/14/2024
1.4.0-beta-155 73 9/25/2024
1.4.0-beta-153 74 9/25/2024
1.4.0-beta-132 91 9/14/2024
1.3.3-beta-125 88 9/1/2024
1.3.2 118 6/1/2024
1.3.2-beta-118 89 7/12/2024
1.3.2-beta-111 98 6/1/2024
1.3.1 110 6/1/2024
1.3.1-beta-94 100 5/31/2024
1.3.1-beta-104 97 6/1/2024
1.3.0 109 5/17/2024
1.3.0-beta-86 93 5/22/2024
1.3.0-beta-81 97 5/21/2024
1.3.0-beta-68 108 5/17/2024
1.3.0-beta-33 93 5/12/2024
1.3.0-beta-28 91 5/12/2024