gulp-sass-helper
Helper app to unify sass implementations for gulp task builds.
System Requirements
- NodeJS (version >= 10).
Installing
npm i -D gulp gulp-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.
- Create a gulpfile to run your tasks.
const gulp = ;const helper = ; const paths = sass: src: "./react/**/*.scss" dest: "./react" ; let isDev = true; const runSassCompiler = { helper; ;}; const runSassLint = { helper; ;}; const build = gulp;
- Create a Browser's list
.browserslistrc
configuration file, on the root directory of your project.
# Browsers that we support > 1%last 2 versionsfirefox >= 4safari 7safari 8safari 9IE 8IE 9IE 10IE 11
License
Copylefted (c) 2020 Henrique Carvalho da Cruz Licensed under the MIT license.