[Deprecated] Parcel Sitemap Plugin (with
⚠ This package is deprecated as its functionality has been merged into firstname.lastname@example.org!
Fork of parcel-plugin-sitemap, a plugin for creating (very) basic sitemaps.
Added the functionality to exclude HTML files from being added to the sitemap by specifying globs in the respective package.json field.
The glob(s) will be negated and passed to fast-glob under the hood.
or an Array of globs:
This plugin will not create a fully featured sitemap, but the most basic one, that is still valid. Parcel makes it easy for you to create a sitemap manually, as html files keep their names while beeing processed. So if you want to achive perfect SEO optimization you should not use this plugin but create a sidemap manually.
However, if you just want to make sure all pages are listed so that search engines can crawl them, this plugin has you covered.
yarn add parcel-plugin-sitemap-exclude
npm install parcel-plugin-sitemap-exclude
Add the following snippet to your
package.json file and replace "https://www.example.org/" with the location where your site will be hosted: