denoland / denoland/dnt

[Feature Request] Regex-based mappings

Open
#151 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
1.3k
Forks
49
PR merge metrics
No merged PRs in 30d

Description

It would be very nice if something like this was supported:

```js
mappings: {
"https://esm.sh/(@?[^@]+)@([^/]+)/(.*).js": {
name: "$1",
version: "^$2",
subPath: "$3.js",
},
},
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.