Configure the Nx Cache Output Location

Share this video with your friends

Send Tweet

Nx has some default settings when restoring the cache. When you create a custom build output in your tsconfig for example, Nx won't automatically know about it.

But, Nx gives you some really easy to use options for configuring these settings. On the project level you can tell Nx about your custom output target in the package.json

You can also set a default for all the projects in the workspace in your nx.json config!