-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Instead of using the named path replacements with the @ prefix, provide the ability to match paths without them, e.g.:
const path = require('@nodewell/path')
// instead of this...
path('@src/**/*.*')
// ...use like this
path('src/**/*.*')- leaving the
@prefix is optional, the paths can be used with or without the@prefix - the
'@'alone will always mean the root directory (or the configured root) - leaving the
@prefix in the path config file is also a possibility, e.g.: instead of"@src": "./src", it's possible to define custom paths like this:"src": "./src" - in the config files, path values can be used too without the
@prefix, e.g.: instead of"images": "@assets/images", use like this:"images": "assets/images" - add a
configoption for this feature in the.pathsrcfile
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request