{"action":"created","issue":{"url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/1","labels_url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/1/comments","events_url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/1/events","html_url":"https://github.com/randing89/ngrequire-webpack-plugin/issues/1","id":104964946,"number":1,"title":"Documentation missing","user":{"login":"nadavsinai","id":2870816,"avatar_url":"https://avatars.githubusercontent.com/u/2870816?v=3","gravatar_id":"","url":"https://api.github.com/users/nadavsinai","html_url":"https://github.com/nadavsinai","followers_url":"https://api.github.com/users/nadavsinai/followers","following_url":"https://api.github.com/users/nadavsinai/following{/other_user}","gists_url":"https://api.github.com/users/nadavsinai/gists{/gist_id}","starred_url":"https://api.github.com/users/nadavsinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadavsinai/subscriptions","organizations_url":"https://api.github.com/users/nadavsinai/orgs","repos_url":"https://api.github.com/users/nadavsinai/repos","events_url":"https://api.github.com/users/nadavsinai/events{/privacy}","received_events_url":"https://api.github.com/users/nadavsinai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-04T20:32:23Z","updated_at":"2015-09-21T19:16:18Z","closed_at":null,"body":"Hi, I've been trying to use your plugin for a big project I am supporting, trying to covert it to modern FED using webpack and ES6.\r\n\r\nI've been trying to understand your code from the test and source but had not luck in making it work.\r\nI think the documentation ought to be improved and I am willing to help (by a PR) if I could get it working for me.\r\nThe entry file for webpack declares the main module.it depends on about 50 sub modules which  are all found in the modules folder, and since the tests reside in each module the gloub pattern i wrote was this:\r\n\r\n['public/modules/*/*.js',\r\n            'public/modules/*/*[!tests]*/*.js',\r\n            'public/modules/*/*[!tests]*/**/*.js',\r\n            'babel!public/modules/*/*[!tests]*/*.es6']\r\n\r\nnotice that I am using babel loader for es6 (found out the hard way how to use it...);\r\n\r\nwebpack runs fine, but does not emit my application files into the output file,\r\nany idea?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/comments/142082245","html_url":"https://github.com/randing89/ngrequire-webpack-plugin/issues/1#issuecomment-142082245","issue_url":"https://api.github.com/repos/randing89/ngrequire-webpack-plugin/issues/1","id":142082245,"user":{"login":"nadavsinai","id":2870816,"avatar_url":"https://avatars.githubusercontent.com/u/2870816?v=3","gravatar_id":"","url":"https://api.github.com/users/nadavsinai","html_url":"https://github.com/nadavsinai","followers_url":"https://api.github.com/users/nadavsinai/followers","following_url":"https://api.github.com/users/nadavsinai/following{/other_user}","gists_url":"https://api.github.com/users/nadavsinai/gists{/gist_id}","starred_url":"https://api.github.com/users/nadavsinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadavsinai/subscriptions","organizations_url":"https://api.github.com/users/nadavsinai/orgs","repos_url":"https://api.github.com/users/nadavsinai/repos","events_url":"https://api.github.com/users/nadavsinai/events{/privacy}","received_events_url":"https://api.github.com/users/nadavsinai/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T19:16:18Z","updated_at":"2015-09-21T19:16:18Z","body":"Hi and sorry for the delay, I was occupied with many other projects, I appreciate you quick reply and your  time.\r\nI was trying to use your plugin to convert a traditional global variable angular,  script loading  -> concated production based app to webpack without going through the 600~ js files and requiring the relevant files (including libs).\r\nI know see this will not be so easy.\r\nI did manage to have some progress diving into your code , adding the options argument like this :\r\n    new ngRequirePlugin({\r\n            include: [\r\n                'public/application.js',\r\n                'public/modules/*/**/*.js',\r\n                'babel!public/modules/*/**/*.es6',\r\n                '!public/modules/*/tests/**.js',\r\n                '!public/modules/*/tests/**.es6'\r\n            ], options: {ignoreProviders: [/.*/]}\r\n        })\r\nbasically allowing it to run over my application and ignore the unknown providers from libs.\r\nSo as my initial issue suggested, what I mainly wanted to improve ( and understand) is the documentation of your plugin.\r\nUnfortunately I must leave this side project as it is now for lack of time, perhaps it could still happen in the future that I would fork your plugin and continue the development, issuing a PR when I finish, but for now I must attend other projects. You can close this issue for now, however this issue itself now provides some documentation for those that want to work with the options argument."}}