var gulp = require("gulp"),
    elixir = require("laravel-elixir"),
    iconFont = require('gulp-iconfont'),
    iconFontCss = require('gulp-iconfont-css'),
    _  = require('underscore');

elixir.extend("icons", function (options) {

    var config = this,
        defaultOptions = {
            srcDir:         config.assetsDir + 'icons/',
            sassDir:        config.assetsDir + "sass/",
            fontDir:        "public/fonts/",
            relativeCssDir: "/fonts/",
            iconFontName:   "icon-font",
            template:       __dirname + "/icon-font-template.scss"
        };

    options = _.extend(defaultOptions, options);

    // We need to set the parent directory of
    // the sassDir as the base folder so we
    // can write the icon font SASS file
    function getParentDir(path)
    {
        var split = path.split("/"),
            parent = split.slice(0, split.length - 2).join("/") + "/";

        return parent == "/" ? "" : parent;
    }

    // The icon font SASS file will be saved relative to the fontDir
    // So we need to get to the project root => ../../../
    function getRoot(path) {
        var backPath = '',
            depth = (path.match(/\//g) || []).length;

        for (var i = 0; i < depth; i++) {
            backPath += '../';
        }

        return backPath;
    }

    gulp.task("icons", function () {

        gulp.src([options.srcDir + "*.svg"], {base: getParentDir(options.sassDir)})
            .pipe(iconFontCss({
                fontName: options.iconFontName,
                path: options.template,
                targetPath: getRoot(options.fontDir) + options.sassDir + "_" + options.iconFontName + ".scss",
                fontPath: options.relativeCssDir
            }))
            .pipe(iconFont({
                fontName: options.iconFontName,
                normalize: true
            }))
            .pipe(gulp.dest(options.fontDir));
    });

    this.registerWatcher("icons", options.srcDir + "*.svg");

    return this.queueTask("icons");

});
@@ -649,337 +649,8 @@
 );%0A%0A
-    // We need to set the parent directory of%0A    // the sassDir as the base folder so we%0A    // can write the icon font SASS file%0A    function getParentDir(path)%0A    %7B%0A        var split = path.split(%22/%22),%0A            parent = split.slice(0, split.length - 2).join(%22/%22) + %22/%22;%0A%0A        return parent == %22/%22 ? %22%22 : parent;%0A    %7D%0A%0A
     
@@ -1093,37 +1093,12 @@
 se: 
-getParentDir(options.sassDir)
+'./'
 %7D)%0A 

Change basedir to ./