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

Control jspm's config.js output #1077

Closed
srolel opened this issue Aug 30, 2015 · 3 comments
Closed

Control jspm's config.js output #1077

srolel opened this issue Aug 30, 2015 · 3 comments

Comments

@srolel
Copy link

srolel commented Aug 30, 2015

I'd like paths in config.js to be set by me and not jspm. So either set what is put in the json or omit paths entirely. Any built-in way to do that?

@jdanyow
Copy link

jdanyow commented Aug 30, 2015

I have a related issue- when I run any jspm command it modifies the paths config. I'm sure I configured something incorrectly- here's what happens after running jspm install:

jspm install

The leading / is removed, which I have to re-add afterwords to make things work properly.

What do I need to change to either preserve the leading / or achieve the same result through some other config point? I tried a few things with baseUrl with no success.

@guybedford
Copy link
Member

@jdanyow rather set baseURL: '/``here (the client baseURL prompt when runningjspm init -p`). The registry paths do need to be managed by jspm though. @mosho1 you can add extra paths here fine and they will be maintained, but you can't alter the existing ones.

@jdanyow
Copy link

jdanyow commented Sep 2, 2015

oh my bad- I was using baseUrl instead of baseURL! Thanks for the tip

@srolel srolel closed this as completed Sep 4, 2015
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

3 participants