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 = [
|
const plugins = [withNx, withPayload];
|
||||||
// Add more Next.js plugins to this list if needed.
|
|
||||||
withNx,
|
|
||||||
];
|
|
||||||
|
|
||||||
const configWithNxPlugin = composePlugins(...plugins)(nextConfig);
|
module.exports = composePlugins(...plugins)(nextConfig);
|
||||||
|
|
||||||
module.exports = withPayload(configWithNxPlugin);
|
|
||||||
Reference in new issue
Block a user