Use Nx Named Inputs to Reuse Glob Patterns Across Inputs

Share this video with your friends

Send Tweet

Sometimes you might want to use a pattern you defined for a certain input in a different one somewhere else in your nx.json confg.

You can do that by defining a namedInputs object field and setting your named input's name as the key, and the glob pattern as the value.