Skip to content

Commit 020748d

Browse files
committed
fix(barrel): fix barrel file extension
1 parent 29829ba commit 020748d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/FileService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class FileService {
3838
}
3939

4040
genBarrel(template: string) {
41-
const filePath = `${this.dirPath}/index.${config.ext.component}`;
41+
const filePath = `${this.dirPath}/index.${config.ext.script}`;
4242
this.genFile(filePath, template, 'barrel');
4343
}
4444

0 commit comments

Comments
 (0)