Skip to content

Commit e6b36d9

Browse files
Tucker-Ericmelloware
authored andcommitted
feat: allow mts config file extension (#2509)
1 parent e5ff550 commit e6b36d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/orval/src/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function findConfigFile(configFilePath?: string) {
102102
}
103103

104104
const root = process.cwd();
105-
const exts = ['.ts', '.js', '.mjs'];
105+
const exts = ['.ts', '.js', '.mjs', '.mts'];
106106
for (const ext of exts) {
107107
const fullPath = path.resolve(root, `orval.config${ext}`);
108108
if (fs.existsSync(fullPath)) {

0 commit comments

Comments
 (0)