tpmjs/apps/web/next.config.ts

29 lines
553 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',
'@tpmjs/registry-search',
'@tpmjs/registry-execute',
],
async redirects() {
return [
{
source: '/tools-ideas',
destination: '/tool-ideas',
permanent: true,
},
];
},
};
export default nextConfig;