UNPKG

1.2 kBMarkdownView Raw
1See [sitemaps.org](http://www.sitemaps.org/protocol.html#xmlTagDefinitions) for detail XML tag definitions.
2
3### dest
4Type: `String`
5Default: `undefined`
6
7Sitemap destination. If not set, fallback to assemble destination.
8
9## homepage
10Type: `String`
11Default: `homepage` (from package.json)
12
13Site URL
14
15## changefreq
16Type: `String`
17Default: `weekly`
18
19How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are:
20
21 - always
22 - hourly
23 - daily
24 - weekly
25 - monthly
26 - yearly
27 - never
28
29## priority
30Type: `String`
31Default: `weekly`
32
33The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers.
34
35## exclusions
36Type: `Array`
37Default: `['404']`
38
39Page to omit from the sitemap.
40
41```js
42options: {
43 sitemap: {
44 exclusions: ["foo", "bar"],
45 },
46 files: {
47 ...
48 }
49}
50```
51
52### robot
53Type: `Boolean`
54Default: `true`
55
56Generate robots.txt from `exclusions` list.
\No newline at end of file