require('gulp');

// importing Wheelie instance and the base Wheelie recipe
var wheelie = require('wheelie');
var recipe = require('wheelie-recipe');

// adding the base recipe to Wheelie
wheelie.add(recipe);
wheelie.setDefault('watch');

// build customizations
var vendors = [
    'svg-injector/dist/svg-injector.js'
];

var scripts = [
    'compatibility/modernizr-custom.js',
    'svg-injections.js'
];

wheelie.update('uglify', {
  scripts: scripts,
  vendors: vendors
});

// the production and the live building, output processed files
// in the `wheelie/static/` folder
wheelie.setBuild('static/');
wheelie.setDist('static/');
wheelie.build();

require('gulp');

// importing Wheelie instance and the base Wheelie recipe
var wheelie = require('wheelie');
var recipe = require('wheelie-recipe');

// adding the base recipe to Wheelie
wheelie.add(recipe);
wheelie.setDefault('watch');

// build customizations
var vendors = [
    'svg-injector/svg-injector.js'
];

var scripts = [
    'compatibility/modernizr-custom.js',
    'svg-injections.js'
];

wheelie.update('uglify', {
  scripts: scripts,
  vendors: vendors
});

// the production and the live building, output processed files
// in the `wheelie/static/` folder
wheelie.setBuild('static/');
wheelie.setDist('static/');
wheelie.build();

fix an error in the Gulpfile that concerned the svg-injector path