Open ruzicka opened 6 years ago
Hm, I'm not sure if it's caused by module-alias but will check it
I'm having a similar issue, getting an error because it's trying to get a local file instead of dependency. Issue only happening when I define aliases in package.json and import module-alias/register
, not when calling .addAliases() directly.
It seems that when there is a local file called the same as an existing package (let's assume
stripe
package andstripe.js
file) and you are trying to load the package, local file is loaded instead.expected behaviour: