mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
22 lines
478 B
JavaScript
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
|