From 337ced708d637d12dd85c104344171b614a1c1b6 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 22 Oct 2024 10:07:17 +0200 Subject: [PATCH] fix: detect next if typescript config file is used --- packages/build-info/src/frameworks/next.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build-info/src/frameworks/next.ts b/packages/build-info/src/frameworks/next.ts index be9c0bc2fc..15eee5c62e 100644 --- a/packages/build-info/src/frameworks/next.ts +++ b/packages/build-info/src/frameworks/next.ts @@ -8,7 +8,7 @@ export class Next extends BaseFramework implements Framework { category = Category.SSG npmDependencies = ['next'] excludedNpmDependencies = ['@nrwl/next'] - configFiles = ['next.config.js', 'next.config.mjs'] + configFiles = ['next.config.js', 'next.config.mjs', 'next.config.ts'] dev = { command: 'next',