open-draft / dotalias

A single configuration for path aliases to reuse across all your tools (TypeScript, Jest, webpack, Rollup, etc.).
91 stars 2 forks source link

Support wildcards in module paths #2

Closed kettanaito closed 3 years ago

kettanaito commented 3 years ago

Should support specifying a module path in the following format:

// alias.config.js
module.exports = {
  'myModule/*': './myModule/*'
}

The exact syntax may be different. Need to research what dynamic paths syntax is the most versatile one (see Jest and TypeScript for examples).

Roadmap