diff --git a/src/context.ts b/src/context.ts index a750de0..9c5bb44 100644 --- a/src/context.ts +++ b/src/context.ts @@ -292,6 +292,7 @@ export function createContext(options: Options = {}, root = process.cwd!()) { return path.resolve(parsedPath.dir, outName) switch (structureMode) { + case true: case 'parent': return `${path.resolve(resolvedOutDir, path.parse(relativePath).dir, outName)}` case 'nested':