Skip to content

Commit

Permalink
fix(nextjs): Add support for next.config.ts for executors
Browse files Browse the repository at this point in the history
closes: #28960
  • Loading branch information
ndcunningham committed Nov 25, 2024
1 parent cbc19c5 commit 1014ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function ensureFileExtensions(
files: string[],
absoluteDir: string
): string[] {
const extensions = ['.js', '.cjs', '.mjs', '.json'];
const extensions = ['.js', '.cjs', '.mjs', '.json', '.ts'];
return files.map((file) => {
const providedExt = extname(file);
if (providedExt && extensions.includes(providedExt)) return file;
Expand Down

0 comments on commit 1014ecb

Please sign in to comment.