{"size": 391, "ext": "js", "max_stars_repo_path": "gulpfile.js/tasks/svgsprite.js", "max_stars_repo_name": "aderaaij/ardennl", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gulpfile.js/tasks/svgsprite.js", "max_issues_repo_name": "aderaaij/ardennl", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gulpfile.js/tasks/svgsprite.js", "max_forks_repo_name": "aderaaij/ardennl", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.7222222222, "max_line_length": 47, "alphanum_fraction": 0.6496163683}
const gulp = require('gulp');
const plugins = require('gulp-load-plugins')();
const config = require('../config/svgSprite');

const SVGSprite = () => gulp.src(config.source)

    .pipe(plugins.imagemin({
        svgoPlugins: [{ removeTitle: true }],
    }))

    .pipe(plugins.svgstore())

    .pipe(gulp.dest(config.dest));

gulp.task('svg:sprite', SVGSprite);
module.exports = SVGSprite;

