<commit_before>/**
 * Build svg sprite
 */

var gulp        = require ('gulp');
var browserSync = require ('browser-sync');
var reload      = browserSync.reload;
var imagemin    = require ('gulp-imagemin');
var notify      = require("gulp-notify");
var plumber     = require('gulp-plumber');
var svgSprite   = require('gulp-svg-sprite');
var path        = require("path");

var config      = require("../config");
var mode        = require("./helpers/mode");


var svgConf = {
    shape: {
        spacing: { 
            padding: 10 
        },
        dimension       : {
            maxWidth    : 32,
            maxHeight   : 32
        },
    },
    mode: {
        css: {
            dimensions: true,
            common: 'icon',
            layout: "vertical",
            prefix: '.icon-',
            bust: false,
            dest : './',
            sprite: '../img/svg/sprite.svg',
            render: {
                scss: {
                    /**
                     * Put SCSS file in dev/sass/vandor/_sprite to make concatenation > main.css
                     * @type - fix
                     */
                    dest : path.join('../../../../', config.root.dev, config.css.dev, 'parts/vendor/_sprite.scss'),
                }
            }
        }
    }
}

// @Sass mixin - https://www.liquidlight.co.uk/blog/article/creating-svg-sprites-using-gulp-and-sass/<commit_msg>fix. svg path<commit_after>/**
 * Build svg sprite
 */

var gulp        = require ('gulp');
var browserSync = require ('browser-sync');
var reload      = browserSync.reload;
var imagemin    = require ('gulp-imagemin');
var notify      = require("gulp-notify");
var plumber     = require('gulp-plumber');
var svgSprite   = require('gulp-svg-sprite');
var path        = require("path");

var config      = require("../config");
var mode        = require("./helpers/mode");


var svgConf = {
    shape: {
        spacing: { 
            padding: 10 
        },
        dimension       : {
            maxWidth    : 32,
            maxHeight   : 32
        },
    },
    mode: {
        css: {
            dimensions: true,
            common: 'icon',
            layout: "vertical",
            prefix: '.icon-',
            bust: false,
            dest : './',
            sprite: '../img/svg/sprite.svg',
            render: {
                scss: {
                    /**
                     * Put SCSS file in dev/sass/vandor/_sprite to make concatenation > main.css
                     * @type - fix
                     */
                    dest : path.join('../../../', config.root.dev, config.css.dev, 'parts/vendor/_sprite.scss'),
                }
            }
        }
    }
}

// @Sass mixin - https://www.liquidlight.co.uk/blog/article/creating-svg-sprites-using-gulp-and-sass/
{'fraction_non_alphanumeric': 0.1481216457960644, 'fraction_numerical': 0.004293381037567084, 'mean_word_length': 1.3126550868486353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1311874', 'n_tokens_mistral': 849, 'n_tokens_neox': 808, 'n_words': 169}