Skip to content

Commit 87f0bf4

Browse files
authored
fix(prepare/build): support deeply nested SOURCE paths (#93)
1 parent d692e57 commit 87f0bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prepare-build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function getBasicBuildOptions(inputs: Inputs): BasicBuildOptions {
9191
if (!parsed.base) {
9292
parsed.base = "index.html";
9393
} else if (!parsed.ext) {
94-
parsed.dir = parsed.base;
94+
parsed.dir = path.join(parsed.dir, parsed.base);
9595
parsed.base = "index.html";
9696
}
9797
parsed.dir = path.relative(cwd, parsed.dir);

0 commit comments

Comments
 (0)