🩹 Better fix for ENOENT schema.prisma
This commit is contained in:
@@ -7,6 +7,13 @@ const pages = ['pricing', 'privacy-policies', 'terms-of-service', 'about']
|
||||
|
||||
module.exports = withBundleAnalyzer({
|
||||
transpilePackages: ['utils', 'models'],
|
||||
webpack: (config, { isServer }) => {
|
||||
if (isServer) {
|
||||
config.externals = [...config.externals, '@prisma/client']
|
||||
}
|
||||
|
||||
return config
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user