{"action":"created","issue":{"url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/10","labels_url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/10/comments","events_url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/10/events","html_url":"https://github.com/mquandalle/meteor-stylus/issues/10","id":82928100,"number":10,"title":"Use the new batch plugin API","user":{"login":"mquandalle","id":1730702,"avatar_url":"https://avatars.githubusercontent.com/u/1730702?v=3","gravatar_id":"","url":"https://api.github.com/users/mquandalle","html_url":"https://github.com/mquandalle","followers_url":"https://api.github.com/users/mquandalle/followers","following_url":"https://api.github.com/users/mquandalle/following{/other_user}","gists_url":"https://api.github.com/users/mquandalle/gists{/gist_id}","starred_url":"https://api.github.com/users/mquandalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mquandalle/subscriptions","organizations_url":"https://api.github.com/users/mquandalle/orgs","repos_url":"https://api.github.com/users/mquandalle/repos","events_url":"https://api.github.com/users/mquandalle/events{/privacy}","received_events_url":"https://api.github.com/users/mquandalle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mquandalle/meteor-stylus/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-30T22:13:30Z","updated_at":"2015-07-24T23:07:43Z","closed_at":null,"body":"The upcoming release of meteor will expose a new API to plugin packages that will help them to handle a set of files instead of just one, making things like `@import`s a lot easier — and less hacky. You can read more details on MDG plans and rationale [here](https://quip.com/YLcCAxtjuwsL).\r\n\r\nThis issue is essentially a reminder that we should use this new API when it will be released. "},"comment":{"url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/comments/124760345","html_url":"https://github.com/mquandalle/meteor-stylus/issues/10#issuecomment-124760345","issue_url":"https://api.github.com/repos/mquandalle/meteor-stylus/issues/10","id":124760345,"user":{"login":"Slava","id":2608446,"avatar_url":"https://avatars.githubusercontent.com/u/2608446?v=3","gravatar_id":"","url":"https://api.github.com/users/Slava","html_url":"https://github.com/Slava","followers_url":"https://api.github.com/users/Slava/followers","following_url":"https://api.github.com/users/Slava/following{/other_user}","gists_url":"https://api.github.com/users/Slava/gists{/gist_id}","starred_url":"https://api.github.com/users/Slava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slava/subscriptions","organizations_url":"https://api.github.com/users/Slava/orgs","repos_url":"https://api.github.com/users/Slava/repos","events_url":"https://api.github.com/users/Slava/events{/privacy}","received_events_url":"https://api.github.com/users/Slava/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T23:07:43Z","updated_at":"2015-07-24T23:07:43Z","body":"I think if you find a way to distribute the stylus libraries in packages, this could be the best option:\r\n\r\n```stylus\r\n// my-stylesheet.styl\r\n@import 'nib' // included by default\r\n@import '{stylus:jeet}/jeet'\r\n@import '{stylus:rupture}/rupture'\r\n```\r\n\r\nor even\r\n\r\n```stylus\r\n@import 'nib'\r\n@import '{stylus:libs}/jeet'\r\n@import '{stylus:libs}/rupture'\r\n```\r\n\r\nI think the current API allows this, just distribute files as \"isImport: true\""}}