tags: Gulp, BrowserSync, SCSS, PostCSS, Autoprefixer, CSSNamo
- Compile SCSS to CSS with Gulp 4
- Optimized with PostCSS Autoprefixer and CSSNano
- Faster by syncronising file changes and interactions across multiple devices with BrowserSync
- Clone repository
git clone https://github.com/sherpaPSX/gulp-scss-builder.git
- Install dependecies
npm install
- Run compiler:
npm run dev
Start compiler with BrowserSync watcher.npm run build
Production ready styles.
- Edit PostCSS options in
postCssOptions
object ingulpFile.js
. - Supported browsers for Autoprefixes are defined in
browserslist
object inpackage.json
.