vite-plugin-sitemap 0.1.2 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -77,6 +77,23 @@ export default {
77
77
 
78
78
  You can find a working example in example folder.
79
79
 
80
+ ### exclude
81
+
82
+ - **Type:** `string[]`
83
+ - **Default:** `[]`
84
+
85
+ Array of strings with excluded routes.
86
+ ```js
87
+ export default {
88
+ plugins: [
89
+ Vue(),
90
+ Sitemap({ exclude: ['/admin', '/private'] }),
91
+ ],
92
+ }
93
+ ```
94
+
95
+ You can find a working example in example folder.
96
+
80
97
  ### outDir
81
98
 
82
99
  - **Type:** `string`
@@ -84,6 +101,14 @@ You can find a working example in example folder.
84
101
 
85
102
  Output directory.
86
103
 
104
+ ### extentions
105
+
106
+ - **Type:** `string | string[]`
107
+ - **Default:** `'html'`
108
+
109
+ File extentions that need to be generated.
110
+ Example: ['html', 'md']
111
+
87
112
  ### changefreq
88
113
 
89
114
  - **Type:** `string`