@escio/forge-css

1.0.1 • Public • Published

@escio/forge-css

Best practice tools for forging css.

This package exposes a gulp/Vinyl transform stream that compiles SASS into CSS using the best practice config used internally at Norwegian company Escio AS. The idea is to provide good defaults without burdening the user with doing the config job.

Installation

$ npm install @escio/forge-css

Usage

const gulp = require('gulp');
const forgeCss = require('@escio/forge-css');

gulp.task('build', () => gulp.src(
    '*.scss'
).pipe(
    forgeCss.compileSass({
        minimize: true, // Default
        sourcemaps: true // Default
    })
).pipe(
    gulp.dest('./build')
));

The resulting CSS is (optionally) minimized and sourcemapped, as well as auto-prefixed for compatibility with the 2 latest versions of all major browsers.

License

ISC � Escio AS

Readme

Keywords

Package Sidebar

Install

npm i @escio/forge-css

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • sanders54
  • bsantos22
  • wien
  • joakimescio