vite-plugin-sitemap 0.7.1 → 0.8.0
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 +10 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ import Sitemap from 'vite-plugin-sitemap'
|
|
|
30
30
|
export default {
|
|
31
31
|
plugins: [
|
|
32
32
|
Vue(),
|
|
33
|
-
Sitemap(),
|
|
33
|
+
Sitemap({ hostname: 'https://example.com' }),
|
|
34
34
|
],
|
|
35
35
|
}
|
|
36
36
|
```
|
|
@@ -175,6 +175,15 @@ strategy specifies if the language code is a suffix to the path or a prefix. 'su
|
|
|
175
175
|
|
|
176
176
|
Enables robots.txt file generation
|
|
177
177
|
|
|
178
|
+
### xmlns
|
|
179
|
+
|
|
180
|
+
- **Type:** `NSArgs`
|
|
181
|
+
- **Default:** `undefined`
|
|
182
|
+
|
|
183
|
+
Trim the xml namespace
|
|
184
|
+
See https://www.npmjs.com/package/sitemap#options-you-can-pass
|
|
185
|
+
Type: https://github.com/ekalinin/sitemap.js/blob/0af656e6a4a7b1403c9b3af23603261bd9cf94d3/lib/sitemap-stream.ts#L20
|
|
186
|
+
|
|
178
187
|
### robots
|
|
179
188
|
|
|
180
189
|
- **Type:** `RobotOption[]`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-sitemap",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"packageManager": "pnpm@9.1.2",
|
|
6
6
|
"description": "Sitemap generator plugin for Vite",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"eslint-plugin-format": "^0.1.1",
|
|
28
28
|
"pkgroll": "^2.1.1",
|
|
29
29
|
"pnpm": "^9.1.2",
|
|
30
|
-
"sitemap-ts": "^1.
|
|
30
|
+
"sitemap-ts": "^1.9.0",
|
|
31
31
|
"taze": "^0.13.8",
|
|
32
32
|
"typescript": "^5.4.5",
|
|
33
33
|
"vite": "^5.2.11",
|