|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
experimental: {
|
|
serverComponentsExternalPackages: ['oracledb']
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
if (isServer) {
|
|
config.externals.push('oracledb');
|
|
}
|
|
return config;
|
|
}
|
|
};
|
|
|
|
module.exports = nextConfig;
|