cloudflare/vinext
Publicmirrored from https://github.com/cloudflare/vinextAvailable
benchmarks/nextjs/next.config.ts
18lines · modecode
| 1 | import type { NextConfig } from "next"; |
| 2 | |
| 3 | const nextConfig: NextConfig = { |
| 4 | turbopack: { |
| 5 | root: process.cwd(), |
| 6 | }, |
| 7 | // Disable type checking and linting during builds so benchmark timings |
| 8 | // only measure bundler/compilation speed. Vite does not type-check or |
| 9 | // lint during build, so this keeps the comparison apples-to-apples. |
| 10 | typescript: { |
| 11 | ignoreBuildErrors: true, |
| 12 | }, |
| 13 | eslint: { |
| 14 | ignoreDuringBuilds: true, |
| 15 | }, |
| 16 | }; |
| 17 | |
| 18 | export default nextConfig; |
| 19 | |