fix: include withPayload in Next.js plugins for proper configuration
This commit is contained in:
@@ -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