Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 31f7cb98ea | |||
| c66af4e66c |
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# 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)
|
## 2025-11-30 - 2.6.2 - fix(deps)
|
||||||
Bump dependencies and migrate test fixtures to ts_web
|
Bump dependencies and migrate test fixtures to ts_web
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsbundle",
|
"name": "@git.zone/tsbundle",
|
||||||
"version": "2.6.2",
|
"version": "2.6.3",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects",
|
"description": "a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsbundle',
|
name: '@git.zone/tsbundle',
|
||||||
version: '2.6.2',
|
version: '2.6.3',
|
||||||
description: 'a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects'
|
description: 'a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export const runCli = async () => {
|
|||||||
.directory(htmlDirPath)
|
.directory(htmlDirPath)
|
||||||
.filter(/\.html$/)
|
.filter(/\.html$/)
|
||||||
.list();
|
.list();
|
||||||
htmlFiles = entries.map((entry) => entry.path);
|
htmlFiles = entries.map((entry) => plugins.path.basename(entry.path));
|
||||||
}
|
}
|
||||||
for (const htmlFile of htmlFiles) {
|
for (const htmlFile of htmlFiles) {
|
||||||
await htmlHandler.processHtml({
|
await htmlHandler.processHtml({
|
||||||
|
|||||||
Reference in New Issue
Block a user