mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
20 lines
410 B
JavaScript
20 lines
410 B
JavaScript
//@ts-check
|
|
|
|
const { composePlugins, withNx } = require('@nx/next')
|
|
|
|
/**
|
|
* @type {import('@nx/next/plugins/with-nx').WithNxOptions}
|
|
**/
|
|
const nextConfig = {
|
|
// Use this to set Nx-specific options
|
|
// See: https://nx.dev/recipes/next/next-config-setup
|
|
nx: {},
|
|
}
|
|
|
|
const plugins = [
|
|
// Add more Next.js plugins to this list if needed.
|
|
withNx,
|
|
]
|
|
|
|
module.exports = composePlugins(...plugins)(nextConfig)
|