fix build
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
import withBundleAnalyzer from '@next/bundle-analyzer';
|
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 IS_PRODUCTION = process.env.NODE_ENV === 'production';
|
||||||
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL;
|
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL;
|
||||||
@@ -24,10 +21,11 @@ const INTERNAL_PACKAGES = [
|
|||||||
'@kit/monitoring',
|
'@kit/monitoring',
|
||||||
'@kit/next',
|
'@kit/next',
|
||||||
'@kit/notifications',
|
'@kit/notifications',
|
||||||
|
'lucide-react',
|
||||||
];
|
];
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const config = withTM({
|
const config = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
/** Enables hot reloading for local packages without a build step */
|
/** Enables hot reloading for local packages without a build step */
|
||||||
transpilePackages: INTERNAL_PACKAGES,
|
transpilePackages: INTERNAL_PACKAGES,
|
||||||
@@ -70,7 +68,7 @@ const config = withTM({
|
|||||||
/** We already do linting and typechecking as separate tasks in CI */
|
/** We already do linting and typechecking as separate tasks in CI */
|
||||||
eslint: { ignoreDuringBuilds: true },
|
eslint: { ignoreDuringBuilds: true },
|
||||||
typescript: { ignoreBuildErrors: true },
|
typescript: { ignoreBuildErrors: true },
|
||||||
});
|
};
|
||||||
|
|
||||||
export default withBundleAnalyzer({
|
export default withBundleAnalyzer({
|
||||||
enabled: process.env.ANALYZE === 'true',
|
enabled: process.env.ANALYZE === 'true',
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
export * from './components/sign-up-methods-container';
|
export * from './components/sign-up-methods-container';
|
||||||
export * from './schemas/password-sign-up.schema';
|
export * from './schemas/password-sign-up.schema';
|
||||||
export * from './components/update-account-form';
|
|
||||||
|
|||||||
Reference in New Issue
Block a user