fix: include withPayload in Next.js plugins for proper configuration
This commit is contained in:
1 parent
acb7f4aef9
commit
f31aad8570
1 file changed
+2
-7
@@ -15,11 +15,6 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
// Add more Next.js plugins to this list if needed.
|
||||
withNx,
|
||||
];
|
||||
const plugins = [withNx, withPayload];
|
||||
|
||||
const configWithNxPlugin = composePlugins(...plugins)(nextConfig);
|
||||
|
||||
module.exports = withPayload(configWithNxPlugin);
|
||||
module.exports = composePlugins(...plugins)(nextConfig);
|
||||
Reference in new issue
Block a user