0.1.2 • Published 5 years ago

@confy/preset-sass v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@confy/preset-sass

Extends Confy configuration with SCSS support.

Quick Overview

This preset enables:

  • Support for Sass in .scss files
  • A new option to define a styles folder
// .apprc.js
module.exports = {
  options: {
    // Define the directory for your basic .scss files.
    // This tells the Sass compiler where to look for imports in the first place.
    // (like _variables.scss or _mixins.scss)
    stylesDir: 'styles', // Relative to srcDir
  },
};

Installation

Using @confy/cli:

confy init sass

If you want to add this preset to an existing project, please read the Confy installation guide.