generator-yeogurt
generator-yeogurt copied to clipboard
Having troubles with adding custom gulp plugin to `serve` workflow
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 !