Lesson

Link an e2e Project with Its Web App Through Implicit Dependencies with Nx

Access
Included
Transcript
Needs source

While most of the relationships are discovered by Nx automatically via package.json dependencies or JS/TypeScript imports, some cannot be detected. E2E projects such as the Playwright project in our workspace doesn't directly depend on our Next.js application. There is a dependency at runtime though, because Playwright needs to serve our Next application in order to be ablet to run its e2e tests.

In this lesson, you'll learn how to define such dependencies using the implicitDependencies property.