tpmjs/apps/web/next.config.ts
Ajax Davis f5d7364c96 fix: resolve tailwind config import issues
- Inline tailwind config to resolve Turbopack import issues with @tpmjs/config
- Add exports field to @tpmjs/config package.json for proper module resolution
- Add @tpmjs/config to transpilePackages in Next.js config

Note: page.tsx has a pre-existing Turbopack parsing error at line 604
that needs to be addressed separately (it existed before these changes).
2026-01-20 12:12:16 +10:00

25 lines
483 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
transpilePackages: [
'@tpmjs/ui',
'@tpmjs/utils',
'@tpmjs/db',
'@tpmjs/types',
'@tpmjs/env',
'@tpmjs/config',
],
reactStrictMode: true,
serverExternalPackages: ['@tpmjs/package-executor'],
async redirects() {
return [
{
source: '/tools-ideas',
destination: '/tool-ideas',
permanent: true,
},
];
},
};
export default nextConfig;