Hi again! I hope to not be too spammy, but I'll try to report all the issues I find along the way ;) Right now I'm using an alias to resolve a package name, but the test regex doesn't tries to match the defined aliases. Current way of doing it: ``` javascript resolve: { alias: { angular: 'angular/angular' } }, module: { loaders: [{ test: /angular\/angular/, loader: 'exports?angular'}] } ``` Easier and less verbose way supporting alias names: ``` javascript module: { loaders: [{ test: /^angular$/, loader: 'exports?angular'}] } ``` Or even better, defaulting a **test: String** parameter to alias matching: ``` javascript module: { loaders: [{ test: 'angular', loader: 'exports?angular'}] } ``` What do you think?
Hi again!
I hope to not be too spammy, but I'll try to report all the issues I find along the way ;)
Right now I'm using an alias to resolve a package name,
but the test regex doesn't tries to match the defined aliases.
Current way of doing it:
Easier and less verbose way supporting alias names:
Or even better, defaulting a test: String parameter to alias matching:
What do you think?