Reputation: 3727
What does the @
symbol in '@*/grunt-*'
glob pattern mean?
require('load-grunt-tasks')(grunt, {pattern: ['grunt-*', '@*/grunt-*']});
From load-grunt-tasks (https://github.com/sindresorhus/load-grunt-tasks) doc.
Upvotes: 2
Views: 238
Reputation: 58420
The @
isn't some weird glob syntax - it's just matching directories that begin with @
.
That particular glob pattern was added so that scoped NPM packages are supported - package scopes are prefixed with @
.
Upvotes: 3