fix: use next.config.mjs to avoid typescript build dependency

This commit is contained in:
kevin-asprec
2026-04-14 06:31:08 +08:00
parent dbdc116054
commit f25668f1f7
2 changed files with 7 additions and 8 deletions

7
next.config.mjs Normal file
View File

@@ -0,0 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ['@fiberops/shared'],
output: 'standalone',
};
export default nextConfig;

View File

@@ -1,8 +0,0 @@
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
reactStrictMode: true,
output: 'standalone',
};
export default nextConfig;