Course lesson
Use Nx Named Inputs to Reuse Glob Patterns Across Inputs
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.
- Duration
- 2 min
- Access
- Included
- Transcript
- Retained from source evidence
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.