datashaman/tongs-sass

Sass plugin for Tongs

1.0.0 2020-01-29 12:38 UTC

This package is auto-updated.

Last update: 2024-10-29 05:47:40 UTC


README

tongs ssass plugin

Render SASS files into CSS. A plugin for Tongs static site generator.

For example:

{
    "plugins": {
        "sass": {
            "outputStyle": "compressed"
        }
    }
}

will invoke the following command:

node-sass --output-style=compressed $sourcePath

for any file ending in .sass and .scss. The source will be removed and replaced by a file with .css containing the rendered stylesheet.

Bear in mind that your node_modules folder will not exist in the cloud if you use a cloud-based source disk. If your source is local, no problem - use npm packages in the build.