I have the following structure to my site
ng2
main.js
components
app.component.js
@angular
platform-browser-dynamic
platform-browser-dynamic.umd.js
In my SystemJS config I have the following...
var config = {
map: map,
baseURL: '/ng2',
packages: packages
}
System.config(config);
This works great except the angular dependencies end up having the url...
http://localhost:3000/ng2/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js
Which of course needs to be
http://localhost:3000/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js
Is there a way to set this on a particular package?