{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/694","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/694/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/694/events","html_url":"https://github.com/systemjs/systemjs/pull/694","id":100573502,"number":694,"title":"Loader first global","user":{"login":"matthewbauer","id":19036,"avatar_url":"https://avatars.githubusercontent.com/u/19036?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-12T15:44:21Z","updated_at":"2015-08-13T14:20:41Z","closed_at":"2015-08-12T16:31:44Z","pull_request":{"url":"https://api.github.com/repos/systemjs/systemjs/pulls/694","html_url":"https://github.com/systemjs/systemjs/pull/694","diff_url":"https://github.com/systemjs/systemjs/pull/694.diff","patch_url":"https://github.com/systemjs/systemjs/pull/694.patch"},"body":"The ```pluginFirst``` is a boolean property of loader similar to defaultJSExensions. Setting it to true causes SystemJS to follow the plugin syntax of AMD and webpack, where the plugin name comes before the resource identifier. Old syntax was ```[resource ID]![plugin module ID]```. With pluginFirst turned on, ```[plugin module ID]![resource ID]```. See [https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) for exact details. Should resolve issue #549.\r\n\r\nso ```System.import('./index.coffee!coffee')```\r\nbecomes ```System.import('coffee!./index.coffee\")```\r\n\r\nNote that the old anonymous plugin support like ```System.import(\"file.coffee!\")``` which is short for ```System.import(\"file.coffee!coffee\")``` is not enabled. ```System.import(\"!file.coffee\")``` doesn't make as much sense but if necessary it can certainly be enabled.\r\n\r\nSystemJS builder may also need to be updated for complete support for this option.\r\n"},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/130693435","html_url":"https://github.com/systemjs/systemjs/pull/694#issuecomment-130693435","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/694","id":130693435,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:20:41Z","updated_at":"2015-08-13T14:20:41Z","body":"Builder supported added in https://github.com/systemjs/builder/commit/76fdaca57062e9ab19f91358cc0fa7526b63a849."}}