{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/bundle-collapser/issues/16","labels_url":"https://api.github.com/repos/substack/bundle-collapser/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/substack/bundle-collapser/issues/16/comments","events_url":"https://api.github.com/repos/substack/bundle-collapser/issues/16/events","html_url":"https://github.com/substack/bundle-collapser/issues/16","id":103739168,"number":16,"title":"Option to define custom require method or blacklisting strings","user":{"login":"niksy","id":389286,"avatar_url":"https://avatars.githubusercontent.com/u/389286?v=3","gravatar_id":"","url":"https://api.github.com/users/niksy","html_url":"https://github.com/niksy","followers_url":"https://api.github.com/users/niksy/followers","following_url":"https://api.github.com/users/niksy/following{/other_user}","gists_url":"https://api.github.com/users/niksy/gists{/gist_id}","starred_url":"https://api.github.com/users/niksy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niksy/subscriptions","organizations_url":"https://api.github.com/users/niksy/orgs","repos_url":"https://api.github.com/users/niksy/repos","events_url":"https://api.github.com/users/niksy/events{/privacy}","received_events_url":"https://api.github.com/users/niksy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-28T15:24:44Z","updated_at":"2015-08-28T15:24:44Z","closed_at":null,"body":"I’m using [Nunjucksify](https://github.com/rotundasoftware/nunjucksify) and I have the problem described in this [issue](https://github.com/rotundasoftware/nunjucksify/issues/11). Since I believe plugin runs after all transforms are applied, it can’t know about additional created requires - in the case of Nunjucks, it’s `env.getTemplate({module-name})`.\r\n\r\nIs it possbile to have option to define custom require method or option to blacklist particular strings inside requires? That way bundle-collapser will just ignore those modules."}}