16 lines
407 B
JavaScript
16 lines
407 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
experimental: {
|
|
serverComponentsExternalPackages: ['sequelize', 'sequelize-typescript', 'bcrypt', '@sequelize/core', '@/app/lib/api/error'],
|
|
serverActions: {
|
|
|
|
},
|
|
},
|
|
webpack: (config) => {
|
|
config.externals = [...config.externals, 'bcrypt'];
|
|
return config;
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|