npm.io
0.1.4 • Published 6 years agoCLI

@leadhome/react-snap-sitemap

Licence
MIT
Version
0.1.4
Deps
3
Size
4 kB
Vulns
1
Weekly
0
Stars
1

React Snap Sitemap

A companion package for react-snap.

This package allows you to generate a sitemap.xml based off the created directories and files produced by react-snap.

Installation

npm install --save @leadhome/react-snap-sitemap

Useage

Add && react-snap-sitemap --base-url='http://example.com/' to the end of your postBuild script after you've the react-snap command.

You can also add --change-frequency=always|daily|weekly|monthly|yearly|never.