@sincronia/sass-plugin

SASS plugin for Sincronia

Usage no npm install needed!

<script type="module">
  import sincroniaSassPlugin from 'https://cdn.skypack.dev/@sincronia/sass-plugin';
</script>

README

@sincronia/sass-plugin

Overview

This plugin allows you to run Sass on scss/sass files. This enables you to modularize your CSS and also adds some useful features that CSS doesn't normally support such as variables.

Installation

npm i -D @sincronia/sass-plugin

Options

No options required.

Example Usage

This example takes .scss files and compiles them with the Sass compiler.

//sinc.config.js
module.exports={
  rules:{
    match:/\.scss$/,
    plugins:[
      {
        name:"@sincronia/sass-plugin",
        //No options necessary
        options:{}
      }
    ]
  }
};