Skip to content

withNx in nx monorepo does pull in the entire nx structure since 3.9.8 #1078

@berenddeboer

Description

@berenddeboer

I used to have this setup in next.config.ts:

import { composePlugins, withNx } from "@nx/next"

const plugins = [
  // Add more Next.js plugins to this list if needed.
  withNx,
]

export default composePlugins(...plugins)(nextConfig)

That works in 3.9.7, but no longer in 3.9.8. I dropped withNx to make this work. Not sure what withNx does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions