javascript - what does these expression mean ? `${server Path}/**/!(*.spec|*.integration).js` -
`${server path}/**/!(*.spec|*.integration).js`, may ask above code, ** , * , | , * stand ? can search read ?
that looks glob syntax me:
https://www.npmjs.com/package/glob
https://en.wikipedia.org/wiki/glob_(programming)
* matches apart slashes, match file won't match subfolders.
** matches including slashes, subfolders can searched.
| or.
! means not.
Comments
Post a Comment