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