mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
27 lines
595 B
JavaScript
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
|