{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1553","repository_url":"https://api.github.com/repos/jspm/jspm-cli","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1553/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1553/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1553/events","html_url":"https://github.com/jspm/jspm-cli/issues/1553","id":135460588,"number":1553,"title":"Loading fonts with JSPM bundle","user":{"login":"fknop","id":6775689,"avatar_url":"https://avatars.githubusercontent.com/u/6775689?v=3","gravatar_id":"","url":"https://api.github.com/users/fknop","html_url":"https://github.com/fknop","followers_url":"https://api.github.com/users/fknop/followers","following_url":"https://api.github.com/users/fknop/following{/other_user}","gists_url":"https://api.github.com/users/fknop/gists{/gist_id}","starred_url":"https://api.github.com/users/fknop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fknop/subscriptions","organizations_url":"https://api.github.com/users/fknop/orgs","repos_url":"https://api.github.com/users/fknop/repos","events_url":"https://api.github.com/users/fknop/events{/privacy}","received_events_url":"https://api.github.com/users/fknop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-22T16:00:50Z","updated_at":"2016-03-09T03:26:06Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using font-awesome with JSPM, everything works fine without bundle but when I'm trying to bundle my app, I'm getting a 404 : \r\n`GET \r\nhttp://localhost:51314/jspm_packages/npm/font-awesome@4.5.0/fonts/fontawesome-webfont.woff2` with the wrong path (the base path is missing).\r\n\r\nI can't find a solution about that !\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/194096866","html_url":"https://github.com/jspm/jspm-cli/issues/1553#issuecomment-194096866","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1553","id":194096866,"user":{"login":"Pleasurazy","id":1500206,"avatar_url":"https://avatars.githubusercontent.com/u/1500206?v=3","gravatar_id":"","url":"https://api.github.com/users/Pleasurazy","html_url":"https://github.com/Pleasurazy","followers_url":"https://api.github.com/users/Pleasurazy/followers","following_url":"https://api.github.com/users/Pleasurazy/following{/other_user}","gists_url":"https://api.github.com/users/Pleasurazy/gists{/gist_id}","starred_url":"https://api.github.com/users/Pleasurazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pleasurazy/subscriptions","organizations_url":"https://api.github.com/users/Pleasurazy/orgs","repos_url":"https://api.github.com/users/Pleasurazy/repos","events_url":"https://api.github.com/users/Pleasurazy/events{/privacy}","received_events_url":"https://api.github.com/users/Pleasurazy/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T03:26:06Z","updated_at":"2016-03-09T03:26:06Z","body":"Hi,\r\n\r\nI use bootstrap, and I have same problem with jspm v0.16.30 (everything works fine without bundle):\r\n\r\n```\r\nimport 'bootstrap'\r\nimport 'bootstrap/css/bootstrap.css!'\r\n```\r\n\r\nIf I run sh$ `jspm bundle app/entry public/assets/all.js --inject`\r\n\r\nthen I get:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1500206/13595604/b83f30d2-e547-11e5-8c9d-58b2ac525b15.png)\r\n\r\nexpect to GET 200\r\n`http://127.0.0.1:3000/assets/jspm_packages/...`\r\n\r\nif I unset `rootURL` will GET 404\r\n`http://127.0.0.1:3000/jspm_packages/...`\r\n\r\nif I set `rootURL: \"assets\"` will GET 404\r\n`http://127.0.0.1:3000/public/assets/jspm_packages/...`\r\n\r\nif I set `rootURL: \"foo/bar\"` will GET 404\r\n`http://127.0.0.1:3000/public/assets/jspm_packages/...`\r\n\r\nif I set `rootURL: \"/assets\"` will GET 404\r\n`http://127.0.0.1:3000/Users/pleasurazy/git/projects/my-cms/public/assets/jspm_packages/...`\r\n\r\nif I set `rootURL: \"../assets\"` will GET 404\r\n`http://127.0.0.1:3000/my-cms/public/assets/jspm_packages/...`\r\n\r\nI have no idea, how to solve this problem gracefully.\r\n\r\n```\r\n$ jspm init -p\r\n\r\nWould you like jspm to prefix the jspm package.json properties under jspm? [yes]:\r\nEnter server baseURL (public folder path) [public/assets]:\r\nEnter jspm packages folder [public/assets/jspm_packages]:\r\nEnter config file path [public/assets/jspm_config_default.js]:\r\nEnter client baseURL (public folder URL) [/assets]:\r\nDo you wish to use a transpiler? [yes]:\r\nWhich ES6 transpiler would you like to use, Babel, TypeScript or Traceur? [babel]:\r\nok   Verified package.json at package.json\r\n     Verified config file at app/assets/jspm_config_default.js\r\n\r\n$ node -v\r\nv4.2.6\r\n\r\n$ npm -v\r\n3.8.1\r\n```\r\n\r\n```\r\npackage.json\r\n\r\n  \"jspm\": {\r\n    \"directories\": {\r\n      \"baseURL\": \"public/assets\",\r\n      \"packags\": \"public/assets/jspm_packages\"\r\n    },\r\n    \"configFile\": \"public/assets/jspm_config_default.js\",\r\n    \"dependencies\": {\r\n      \"angular\": \"github:angular/bower-angular@^1.5.0\",\r\n      \"angular-ui-router\": \"github:angular-ui/ui-router@0.2\",\r\n      \"bootstrap\": \"github:twbs/bootstrap@^3.3.6\",\r\n      \"clean-css\": \"npm:clean-css@^3.4.10\",\r\n      \"css\": \"github:systemjs/plugin-css@^0.1.20\"\r\n    },\r\n    \"devDependencies\": {\r\n      \"babel\": \"npm:babel-core@^5.8.24\",\r\n      \"babel-runtime\": \"npm:babel-runtime@^5.8.24\",\r\n      \"core-js\": \"npm:core-js@^1.1.4\"\r\n    }\r\n  },\r\n```\r\n\r\nstructure:\r\n![image](https://cloud.githubusercontent.com/assets/1500206/13596168/a506940c-e54b-11e5-86e3-447bcb829779.png)"}}