Many Changes
This commit is contained in:
+9
-3
@@ -1,9 +1,15 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
experimental: {
|
||||
serverComponentsExternalPackages: ['sequelize', 'sequelize-typescript'],
|
||||
serverActions: true,
|
||||
}
|
||||
serverComponentsExternalPackages: ['sequelize', 'sequelize-typescript', 'bcrypt', '@sequelize/core'],
|
||||
serverActions: {
|
||||
|
||||
},
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.externals = [...config.externals, 'bcrypt'];
|
||||
return config;
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
||||
Reference in New Issue
Block a user