Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute paths in systemjs config are not moved to /base #53

Closed
bespokebob opened this issue Oct 21, 2015 · 3 comments
Closed

Absolute paths in systemjs config are not moved to /base #53

bespokebob opened this issue Oct 21, 2015 · 3 comments

Comments

@bespokebob
Copy link
Contributor

If your systemjs config contains absolute paths, fixing the baseURL will not also fix these paths. They also need to be relocated under /base, where Karma serves them.

System.config({
  baseURL: '/app',
  map: {
    'jquery': '/thirdparty/jquery.js'
  }
});

While these paths could be overridden in the Karma config, this becomes difficult to maintain if your config contains a large number of frequently changing thirdparty paths.

@rolaveric
Copy link
Owner

Fixed by #54 which has been merged into master and released with 0.8.1

@rolaveric rolaveric reopened this Oct 30, 2015
@rolaveric
Copy link
Owner

No it hasn't - I was looking at #52 ...

@rolaveric
Copy link
Owner

OK, now #54 has been merged into master, and released with 0.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants