Skip to content

Commit 01c9c9d

Browse files
committed
mkdir for bundle path
1 parent 7482490 commit 01c9c9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/ts-codegen/src/builder/builder.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ export class TSBuilder {
189189
]
190190
)).code;
191191

192+
if(this.options?.bundle?.bundlePath){
193+
mkdirp(this.options?.bundle?.bundlePath);
194+
}
195+
192196
mkdirp(this.outPath);
193197

194198
if (code.trim() === '') code = 'export {};'

0 commit comments

Comments
 (0)