3.0.0 • Published 3 years ago

@alex-drocks/react-snap-sitemap v3.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

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 -D @alex-drocks/react-snap-sitemap

Usage

Add & react-snap-sitemap --base-url=http://example.com/ to the end of your postBuild script after you've run the react-snap command. For example: "scripts": { "start": "react-scripts start", "build": "react-scripts build", "postbuild": "react-snap & react-snap-sitemap --base-url=https://finance-d.com/ --add-slash=true --change-frequency=daily" },

To blacklist specific urls, add them with --black-list={url},{url2},...

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

If you need trailing slashes at the end of your URLs add --add-slash=true

3.0.0

3 years ago

0.3.0

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago