2025-04-26 20:32:58 +07:00
|
|
|
const { composePlugins, withNx } = require('@nx/next');
|
2025-05-08 22:11:57 +07:00
|
|
|
const { withPayload } = require('@payloadcms/next/withPayload');
|
2025-04-26 20:32:58 +07:00
|
|
|
|
2025-05-10 16:26:32 +07:00
|
|
|
/** @type {import('@nx/next/plugins/with-nx').WithNxOptions} */
|
2025-04-26 20:32:58 +07:00
|
|
|
const nextConfig = {
|
2025-05-10 16:26:32 +07:00
|
|
|
nx: { svgr: false },
|
|
|
|
|
sassOptions: {
|
|
|
|
|
quietDeps: true,
|
|
|
|
|
logger: {
|
|
|
|
|
warn: () => {},
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-04-26 20:32:58 +07:00
|
|
|
};
|
|
|
|
|
|
2025-05-10 16:26:32 +07:00
|
|
|
module.exports = composePlugins(withNx, withPayload)(nextConfig);
|