* feat: integrate payload cms to landing page * feat: add payload configuration and update TypeScript target * fix: update TypeScript paths for payload configuration * refactor: update config import paths to use local payload.config * fix: update quotation marks for testimonials to use HTML entities * fix: include withPayload in Next.js plugins for proper configuration
21 lines
522 B
JavaScript
21 lines
522 B
JavaScript
//@ts-check
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const { composePlugins, withNx } = require('@nx/next');
|
|
const { withPayload } = require('@payloadcms/next/withPayload');
|
|
|
|
/**
|
|
* @type {import('@nx/next/plugins/with-nx').WithNxOptions}
|
|
**/
|
|
const nextConfig = {
|
|
nx: {
|
|
// Set this to true if you would like to to use SVGR
|
|
// See: https://github.com/gregberge/svgr
|
|
svgr: false,
|
|
},
|
|
};
|
|
|
|
const plugins = [withNx, withPayload];
|
|
|
|
module.exports = composePlugins(...plugins)(nextConfig);
|