{"action":"created","issue":{"url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/63","labels_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/63/comments","events_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/63/events","html_url":"https://github.com/Tim-B/grunt-aws-lambda/pull/63","id":128329194,"number":63,"title":"add option \"include_basedir\" to add additional binary module files","user":{"login":"aheissenberger","id":200095,"avatar_url":"https://avatars.githubusercontent.com/u/200095?v=3","gravatar_id":"","url":"https://api.github.com/users/aheissenberger","html_url":"https://github.com/aheissenberger","followers_url":"https://api.github.com/users/aheissenberger/followers","following_url":"https://api.github.com/users/aheissenberger/following{/other_user}","gists_url":"https://api.github.com/users/aheissenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/aheissenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheissenberger/subscriptions","organizations_url":"https://api.github.com/users/aheissenberger/orgs","repos_url":"https://api.github.com/users/aheissenberger/repos","events_url":"https://api.github.com/users/aheissenberger/events{/privacy}","received_events_url":"https://api.github.com/users/aheissenberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-23T13:38:21Z","updated_at":"2016-01-23T21:25:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/pulls/63","html_url":"https://github.com/Tim-B/grunt-aws-lambda/pull/63","diff_url":"https://github.com/Tim-B/grunt-aws-lambda/pull/63.diff","patch_url":"https://github.com/Tim-B/grunt-aws-lambda/pull/63.patch"},"body":"**use case:**\r\nI have an folder \"./node_modules_lambda\" which is listed in \".npmignore\" and contains \"./node_modules_lambda/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node\" which is the binary specific for the was lambda environment.\r\n\r\n```\r\nlambda_package: {\r\n        default: {\r\n            options: {\r\n                include_files: [  './node_modules/fibers/bin/linux-x64-v8-3.14/**/*' ],\r\n                include_basedir: './node_modules_lambda'\r\n         }\r\n     }\r\n },\r\n```"},"comment":{"url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/comments/174223946","html_url":"https://github.com/Tim-B/grunt-aws-lambda/pull/63#issuecomment-174223946","issue_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/63","id":174223946,"user":{"login":"Tim-B","id":544941,"avatar_url":"https://avatars.githubusercontent.com/u/544941?v=3","gravatar_id":"","url":"https://api.github.com/users/Tim-B","html_url":"https://github.com/Tim-B","followers_url":"https://api.github.com/users/Tim-B/followers","following_url":"https://api.github.com/users/Tim-B/following{/other_user}","gists_url":"https://api.github.com/users/Tim-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Tim-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tim-B/subscriptions","organizations_url":"https://api.github.com/users/Tim-B/orgs","repos_url":"https://api.github.com/users/Tim-B/repos","events_url":"https://api.github.com/users/Tim-B/events{/privacy}","received_events_url":"https://api.github.com/users/Tim-B/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T21:25:42Z","updated_at":"2016-01-23T21:25:42Z","body":"Hi Andreas, thanks for the pull request!\r\n\r\nCould you help me understand your use case a little more. Is it that your lambda function is in the root directory, but your lambda package.json and node_modules is in a subdirectory?\r\n\r\nIs there a reason you don't want to put it all in a subdirectory and use `package_folder`?\r\n\r\nAlso, it looks like some tests are failing. Is that due to the change or are they just flakey?"}}