Skip to content

Commit 9a74058

Browse files
committed
fix: set outputFileTracingRoot to silence Next.js lockfile warning
1 parent 1d89d89 commit 9a74058

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/github-dashboard/next-app/next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/* examples/github-dashboard/next-app/next.config.ts */
22

3+
import { resolve } from 'node:path'
34
import type { NextConfig } from 'next'
45

56
const config: NextConfig = {
7+
outputFileTracingRoot: resolve(process.cwd(), '../../..'),
68
transpilePackages: ['@github-dashboard/shared'],
79
webpack: (webpackConfig) => {
810
// Allow .js imports to resolve .tsx/.ts files (ESM convention used by shared package)

0 commit comments

Comments
 (0)