mevo-gulp-sass

1.1.0 • Public • Published

mevo-gulp-sass

This project is based on Henrique Carvalho da Cruz gulp-sass-helper, I have replaced node-sass for dart-sass Helper app to unify sass implementations for gulp task builds.

npm npm LICENSE

System Requirements

Installing

  • npm i -D gulp mevo-sass-helper stylelint stylelint-config-sass-guidelines stylelint-scss

Usage

  • Create your stylelint files(".stylelintrc.json" and ".styleignore") on the root directory of your project.
  • Start with these basic lint configurations, adding your custom rules afterwards.
{
  "plugins": ["stylelint-scss"],
  "extends": "stylelint-config-sass-guidelines"
}
  • Create a gulpfile to run your tasks.
const gulp = require("gulp");
const helper = require("mevo-gulp-sass");

const paths = { sass: { src: "./react/**/*.scss", dest: "./react" } };

let isDev = true;

const runSassCompiler = (done) => {
  helper.sassCompiler(paths);
  done();
};

const runSassLint = (done) => {
  helper.sassLint(paths, isDev);
  done();
};

const build = gulp.series(runSassLint, runSassCompiler);
  • Create a Browser's list .browserslistrc configuration file, on the root directory of your project.
# Browsers that we support

> 1%
last 2 versions
firefox >= 4
safari 7
safari 8
safari 9
IE 8
IE 9
IE 10
IE 11

License

Copylefted (c) 2023 Michel Januário da Silva Licensed under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    42
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    42
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i mevo-gulp-sass

Weekly Downloads

44

Version

1.1.0

License

MIT

Unpacked Size

5.15 kB

Total Files

6

Last publish

Collaborators

  • trewous