16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
const { composePlugins, withNx } = require('@nx/next');
|
|
const { withPayload } = require('@payloadcms/next/withPayload');
|
|
|
|
/** @type {import('@nx/next/plugins/with-nx').WithNxOptions} */
|
|
const nextConfig = {
|
|
nx: { svgr: false },
|
|
sassOptions: {
|
|
quietDeps: true,
|
|
logger: {
|
|
warn: () => {},
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = composePlugins(withNx, withPayload)(nextConfig);
|