Files
Niklas MischkulnigandGitHub f230aa3b61 Add test for twoslash (#84267)
To be improved by better NFT....
2025-10-01 19:21:55 +02:00

27 lines
595 B
JavaScript

const path = require('path')
/** @type {import('next').NextConfig} */
const nextConfig = {
// output: 'standalone',
// TODO ideally, all of these manual includes wouldn't be necessary. Maybe we can improve that for
// Turbopack
outputFileTracingIncludes: {
'/': [
path.relative(
process.cwd(),
path.resolve(
require.resolve('typescript/package.json'),
'..',
'lib',
'lib.*.d.ts'
)
),
'./node_modules/@types/node/**',
],
},
serverExternalPackages: ['twoslash'],
}
module.exports = nextConfig