Files
wursor/packages/app/next.config.ts
T
2026-04-25 22:54:45 +01:00

25 lines
577 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
transpilePackages: ['@originmain/ui', '@originmain/diff-engine', '@fluentui/react-components'],
experimental: {
optimizePackageImports: ['@fluentui/react-components'],
},
webpack(config) {
config.resolve.extensionAlias = {
'.js': ['.ts', '.tsx', '.js'],
'.mjs': ['.mts', '.mjs'],
};
return config;
},
async rewrites() {
return {
beforeFiles: [
{ source: '/', destination: '/marketing.html' },
],
};
},
};
export default nextConfig;