Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24409af

Browse files
authored
test(deps): update Next.js example to 15.5.2 (#1533)
1 parent 37e2855 commit 24409af

File tree

4 files changed

+340
-308
lines changed

4 files changed

+340
-308
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default [
1212
'dist/',
1313
'examples/component-tests/dist/',
1414
'examples/nextjs/.next/',
15+
'examples/nextjs/build/',
1516
'examples/nextjs/src/app/',
1617
'examples/wait-on-vite/dist/',
1718
'examples/**/.pnp.*',

examples/nextjs/next.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
/** @type {import('next').NextConfig} */
2+
import path from 'path'
3+
import { fileURLToPath } from 'url'
4+
5+
const __filename = fileURLToPath(import.meta.url)
6+
const __dirname = path.dirname(__filename)
7+
28
const nextConfig = {
39
distDir: 'build',
10+
outputFileTracingRoot: __dirname,
11+
eslint: {
12+
// Warning: This allows production builds to successfully complete even if
13+
// your project has ESLint errors.
14+
ignoreDuringBuilds: true,
15+
},
416
};
517

618
export default nextConfig;

0 commit comments

Comments
 (0)