My resolve.alias
collection contains (among others) these to aliases:
"app/user": __dirname + "/common/user",
"app/user/action-proxy": __dirname + "/other/folder/action.proxy"
Then, when executing webpack those requiring “app/user/action-proxy” are not being replaced properly and instead, are being resolved to:
__dirname + “/common/user/action-proxy.js”
Which then obviously build complains because there is no such file.
It looks like the replacement is done with any part of the alias name.
Is this an expected behaviour?
It fails the same way