The only aliases that are resolved are ones that are considered file paths. Externalize has been deprecated. You can do something like:
```
package1:
  alias: ['foo/bar.js']

package2:
  external: ['foo/bar.js']
```
Since external uses path.resolve, alias needs to as well.