@videinfra/static-website-builder 2.0.8 → 2.0.9

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/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [2.0.9] - 2026-02-19
8
+ ### Fixed
9
+ - Removed file extension from the sitemap URLs
10
+
7
11
  ## [2.0.6] - 2026-02-12
8
12
  ### Fixed
9
13
  - Broken fonts due to incorrect encoding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videinfra/static-website-builder",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "Customizable static site project builder",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -21,6 +21,11 @@ export const sitemap = {
21
21
  priority: function (siteUrl, loc, entry) {
22
22
  return loc === siteUrl ? 1 : 0.9;
23
23
  },
24
+
25
+ // Remove file extension from the URL
26
+ getLoc: function(siteUrl, loc, entry) {
27
+ return loc.replace(/\.\w+$/, '');
28
+ },
24
29
  },
25
30
 
26
31
  // Production only settings, overwrites default settings