Skip to content

Commit e405fc3

Browse files
committed
fix: resolve outDir based on cwd
1 parent 362ce33 commit e405fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export async function resolveOptions(options: Options): Promise<{
362362
cwd = process.cwd(),
363363
} = subOptions
364364

365-
outDir = path.resolve(outDir)
365+
outDir = path.resolve(cwd, outDir)
366366
clean = resolveClean(clean, outDir, cwd)
367367

368368
const pkg = await readPackageJson(cwd)

0 commit comments

Comments
 (0)