index.js
function() {
            var sitemap = sm.createSitemap({
                cacheTime: 600000,
                hostname: url.resolve(this.config.get('pluginsConfig.sitemap.hostname'), '/'),
                urls: urls
            });

            var xml = sitemap.toString();

            return this.output.writeFile('sitemap.xml', xml);
        }
function() {
            var sitemap = sm.createSitemap({
                cacheTime: 600000,
                hostname: url.resolve(this.config.get('pluginsConfig.sitemap.hostname'), '/'),
                urls: urls
            });

            var xml = sitemap.toString();

            return this.output.writeFile('sitemap.xml', xml);
        }
function ( ) { var sitemap = sm . createSitemap ( { cacheTime : 600000 , hostname : url . resolve ( this . config . get ( 'pluginsConfig.sitemap.hostname' ) , '/' ) , urls : urls } ) ; var xml = sitemap . toString ( ) ; return this . output . writeFile ( 'sitemap.xml' , xml ) ; }
Write sitemap.xml
Write sitemap . xml