fix(cli): Use basename when collecting HTML files for the website CLI command to ensure correct relative paths

This commit is contained in:
2025-12-02 20:55:43 +00:00
parent 070bc7891e
commit c66af4e66c
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-12-02 - 2.6.3 - fix(cli)
Use basename when collecting HTML files for the website CLI command to ensure correct relative paths
- ts/tsbundle.cli.ts: use plugins.path.basename(entry.path) when building htmlFiles list instead of full entry.path
- Prevents incorrect paths when calling HtmlHandler.processHtml with './html/<file>' and ensures HTML files are processed from the expected relative html directory
## 2025-11-30 - 2.6.2 - fix(deps)
Bump dependencies and migrate test fixtures to ts_web