gruntjs - What does the @ symbol in '@*/grunt-*' glob pattern mean? -
what @
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.
the @
isn't weird glob syntax - it's matching directories begin @
.
that particular glob pattern added scoped npm packages supported - package scopes prefixed @
.
Comments
Post a Comment