This PR improves dependency resolution for Node.js apps using Webpack or Rspack. While we already handle direct dependencies for non-buildable libraries, this update ensures that **transitive dependencies** are also properly included. This guarantees that all necessary dependencies are bundled when the main app/library is built. closes: https://github.com/nrwl/nx/issues/31334
{{links}}
Nx: Smart Repos · Fast Builds
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a Webpack plugin for Nx.
{{content}}