Skip to content

Commit 90c7518

Browse files
Fixed eslint invalid property error by adding nextConfig type to export.
1 parent b8554ec commit 90c7518

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ console.log(`Next.js static export mode: ${isStaticExport}`)
99
const repoName = 'codebuilder-frontend';
1010
const isGithubPages = !!process.env.GITHUB_PAGES;
1111

12-
const nextConfig: NextConfig = {
12+
const nextConfig = {
1313
/**
1414
* FIX: The 'turbo' settings have been moved to the top-level 'turbopack' property
1515
* as Turbopack is now considered stable in Next.js.
@@ -65,7 +65,7 @@ const nextConfig: NextConfig = {
6565

6666
return config
6767
},
68-
}
68+
} as unknown as NextConfig;
6969

7070
// // Only include page.* files for static export, include route.* for all other builds
7171
// if (isStaticExport) {

0 commit comments

Comments
 (0)