Skip to content

feat: add more extensive named path matching #16

Description

@richrdkng

Instead of the possibility to only match letters, numbers, underscores, and dashes, e.g: (a-zA-Z0-9_-), add the feature for named paths to be able to contain the character /, e.g.:

// JSON config file
{
  // with @ prefix
  "@dist/umd": "./temp/dist/umd"

  // without @ prefix
  "dist/umd": "./temp/dist/umd"
}
const path = require('@nodewell/path')

// with @ prefix
path('@dist/umd')

// without @ prefix
path('dist/umd')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions