| 123456789101112131415 |
- import type { NextConfig } from 'next'
- console.log('SOL_ENDPOINT', process.env.SOL_ENDPOINT)
- const nextConfig: NextConfig = {
- output: 'standalone',
- // 忽略构建时的类型错误(因为 lib 目录是第三方代码,可能有类型问题)
- typescript: {
- // 设置为 true 会忽略所有类型错误,包括项目代码
- // 如果只想忽略 lib 目录,可以保持 false,但需要在 tsconfig.json 中正确排除
- ignoreBuildErrors: true,
- },
- }
- export default nextConfig
|