@bemtools/gulp-bundle-scss

1.0.2 • Public • Published

NPM version Build Status

Create bundle SCSS file with import blocks

Installation

npm install @bemtools/gulp-bundle-scss @bemtools/gulp-extract-html-class --save

Sample gulpfile.js

This file will give you a taste of what plugin does.

const gulp         = require('gulp');
const extractClass = require('@bemtools/gulp-extract-html-class');
const bundleSCSS = require('@bemtools/gulp-bundle-scss');

gulp.task('bundle:scss', () => {
	gulp.src('./src/html/**/*.html')
		.pipe(extractClass())
		.pipe(bundleSCSS())
		.pipe(gulp.dest('./src/bundles'))
});

/@bemtools/gulp-bundle-scss/

    Package Sidebar

    Install

    npm i @bemtools/gulp-bundle-scss

    Weekly Downloads

    5

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    8.46 kB

    Total Files

    14

    Last publish

    Collaborators

    • yury.kopyl