14 lines
341 B
JavaScript
14 lines
341 B
JavaScript
/** @type {import('next').Config} */
|
|
const nextConfig = {
|
|
productionBrowserSourceMaps: false,
|
|
transpilePackages: ['@supabase/auth-helpers-nextjs'],
|
|
webpack: (config, { isServer, dev }) => {
|
|
if (isServer && !dev) {
|
|
config.devtool = false;
|
|
}
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|