dnt icon indicating copy to clipboard operation
dnt copied to clipboard

[Feature Request] Regex-based mappings

Open qwtel opened this issue 4 years ago • 1 comments

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

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

qwtel avatar Apr 02 '22 07:04 qwtel

More discussion in https://github.com/denoland/dnt/issues/308

dsherret avatar Jun 08 '23 16:06 dsherret