fix build

This commit is contained in:
Danel Kungla
2025-07-21 13:56:52 +03:00
parent 93e44cda83
commit 8e4d634a7d
2 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,4 @@
import withBundleAnalyzer from '@next/bundle-analyzer';
import transpileModules from 'next-transpile-modules';
const withTM = transpileModules(['lucide-react']);
const IS_PRODUCTION = process.env.NODE_ENV === 'production';
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL;
@@ -24,10 +21,11 @@ const INTERNAL_PACKAGES = [
'@kit/monitoring',
'@kit/next',
'@kit/notifications',
'lucide-react',
];
/** @type {import('next').NextConfig} */
const config = withTM({
const config = {
reactStrictMode: true,
/** Enables hot reloading for local packages without a build step */
transpilePackages: INTERNAL_PACKAGES,
@@ -70,7 +68,7 @@ const config = withTM({
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
});
};
export default withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true',

View File

@@ -1,3 +1,2 @@
export * from './components/sign-up-methods-container';
export * from './schemas/password-sign-up.schema';
export * from './components/update-account-form';