@alex-drocks/react-snap-sitemap
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
// Silence is golden | ||
// Silence is golden |
@@ -7,7 +7,8 @@ { | ||
}, | ||
"version": "0.3.0", | ||
"version": "3.0.0", | ||
"description": "Create a sitemap post react-snap SSR", | ||
"keywords": [ | ||
"automatic sitemap generator", | ||
"react-snap" | ||
"react-snap", | ||
"arcadian-group/react-snap-sitemap fork" | ||
], | ||
@@ -14,0 +15,0 @@ "main": "index.js", |
@@ -13,6 +13,15 @@ # React Snap Sitemap | ||
Add `&& react-snap-sitemap --base-url=http://example.com/` to the end of your postBuild script after you've the `react-snap` command. | ||
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: <pre> | ||
"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" | ||
},</pre> | ||
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` | ||
If you need trailing slashes at the end of your URLs add `--add-slash=true` |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4986
7.9%1
-50%27
58.82%95
-1.04%