Menu icon Foundation
gulp.babel.js | Sitemap XML

Hi friends!

Please tell me, how a can create task for "sitemap xml" in new version CLI a file gulp.babel.js?

My old file gulp.js had task like this :

// Sitemap XML Genereted

gulp.task('sitemap', function () {

    gulp.src('src/pages/*.html', {

            read: false

        })

        .pipe(sitemap({

            siteUrl: 'http://almeg.ru'

        }))

        .pipe(gulp.dest('./dist'));

});

But now Foundation use Babel, please help gays  with my problem!

Thank's!

Babelsitemapgulptaskcli

Hi friends!

Please tell me, how a can create task for "sitemap xml" in new version CLI a file gulp.babel.js?

My old file gulp.js had task like this :

// Sitemap XML Genereted

gulp.task('sitemap', function () {

    gulp.src('src/pages/*.html', {

            read: false

        })

        .pipe(sitemap({

            siteUrl: 'http://almeg.ru'

        }))

        .pipe(gulp.dest('./dist'));

});

But now Foundation use Babel, please help gays  with my problem!

Thank's!

Dustin Harrell over 1 year ago

Hi Alex,

I have done this on my own company website.  See the link below for an example using ZURB Stack 6.4.1.

https://foundation.zurb.com/forum/posts/51775-adding-new-gulp-tasks-to-panini#comment_43006