swimlane / angular1-systemjs-seed

AngularJS 1.x + SystemJS Seed
MIT License
211 stars 40 forks source link

jspm inject changes all paths #56

Closed morgs32 closed 8 years ago

morgs32 commented 8 years ago

I'm trying to jspm inject handlebars for example, and it appears to make ALL my npm and github paths point to the remote. Before:

  paths: {
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*"
  },

Then: jspm inject handlebars

After:

  paths: {
    "github:*": "https://github.jspm.io/*",
    "npm:*": "https://npm.jspm.io/*"
  },
marjan-georgiev commented 8 years ago

Are you trying to install handlebars? Try jspm install handlebars instead

morgs32 commented 8 years ago

No, I was hasty and should have given some more context. I'm on a project where in production we need to have some of our modules on CDN and some installed. I was hoping that jspm inject would add the complete path to just that module.

marjan-georgiev commented 8 years ago

I'd say that's a jspm issue then.

You could try adding the path manually, otherwise try asking the question in the jspm repo or in their gitter chat room.