Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

ecentral/ec-scripts-preset-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eC Scripts Sass/SCSS Preset

Extends eC Scripts configuration with SCSS support.

⚠ THIS REPO IS DEPRECATED. Please use the multi-package repo at ecentral-scripts. ⚠

Quick Overview

This preset enables:

  • Support for Sass in .scss files
  • A new option to define a styles folder
// .ecconf.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 eC CLI:

ec-cli init sass

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

About

Sass/SCSS preset for ec-scripts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published