postcss/sugarss

sss is not defined

TryHardNinja opened this issue · 2 comments

I can not understand what the problem is, I do everything through guide

import gulp from 'gulp';
import plumber from 'gulp-plumber';
import gulpIf from 'gulp-if';
var postcss = require('postcss');
var easyImport = require('postcss-easy-import');
var sugarss = require('sugarss');
import gcmq from 'gulp-group-css-media-queries';
import nano from 'gulp-cssnano';
import rename from 'gulp-rename';
import sourcemaps from 'gulp-sourcemaps';
import errorHandler from 'gulp-plumber-error-handler';

screen shot 2016-10-20 at 13 32 04

ai commented

.process() example in docs is a example for ugins SugarSS with PostCSS JS API.

You don’t use PostCSS JS API. You use Gulp PostCSS plugin.