generator-yeogurt icon indicating copy to clipboard operation
generator-yeogurt copied to clipboard

Having troubles with adding custom gulp plugin to `serve` workflow

Open eko24 opened this issue 8 years ago • 0 comments

Hi @larsonjj I was playing with shorthand plugin for gulp, I tried to add it like this (in /gulp/less.js file) :

      .pipe(gulpif(args.production, plugins.cssnano({rebase: false})))
      .pipe(plugins.sourcemaps.write('./'))
      .pipe(plugins.shorthand())
      .pipe(gulp.dest(dest))
      .pipe(browserSync.stream({match: '**/*.css'}));
  });
};

But as I see in dev tools it haven't replaced my css from this:

margin-bottom: 0;
margin-top: 100px;

to this:

margin: 100px 0 0 0;

Could you please at least help me to figure out where is root of the trouble. Thank you !

eko24 avatar Jun 21 '16 16:06 eko24