Files
supabase/apps/database-new/next.config.js
T
2023-11-24 17:05:36 +01:00

22 lines
478 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ['ui'],
webpack: (config, { dev, isServer, webpack, nextRuntime }) => {
config.module.rules.push({
test: /\.node$/,
use: [
{
loader: 'nextjs-node-loader',
options: {
includeWebpackPublicPath: false,
outputPath: config.output.path,
},
},
],
})
return config
},
}
module.exports = nextConfig