You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we require from a sub-package, the output path will unnecessarily specify the full source path if it is specified in main or types in the package.json
Given:
./packages/pkg-a/package.json
{
"name": "pkg-a",
"main": "./subdir/main.js"
}
With mapping: "@packages/*": "./packages/*"
@packages/pkg-a will resolve to ./packages/pkg-a/subdir/main
Preferably, it should simply resolve to ./packages/pkg-a
This would not be a major issue except for the fact that it will break when the browser setting is used. (see related issue: #105)