Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

329
Views
What it means **/node_modules/* in tsconfig.json?

In this official docs of Visual Code it's recommended to add node_modules to the exclude field of tsconfig.json. It is done this way:

{
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true
  },
  "exclude": ["node_modules", "**/node_modules/*"]
}

I wonder why **/node_modules/* is needed if I'm already adding the plain node_modules folder.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

**/node_modules/* is a glob pattern meaning (from right to left) "anything under a node_modules directory at any depth". See the glob module for more details, it's highly likely it's the module used to interpret that pattern.

From their docs:

  • * Matches 0 or more characters in a single path portion
  • ** If a "globstar" is alone in a path portion, then it matches zero or more directories and subdirectories searching for matches. It does not crawl symlinked directories.
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!