{"action":"created","issue":{"url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/425","repository_url":"https://api.github.com/repos/serverless-heaven/serverless-webpack","labels_url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/425/comments","events_url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/425/events","html_url":"https://github.com/serverless-heaven/serverless-webpack/issues/425","id":341207388,"node_id":"MDU6SXNzdWUzNDEyMDczODg=","number":425,"title":"copy directories/files per function","user":{"login":"jamesdixon","id":110114,"node_id":"MDQ6VXNlcjExMDExNA==","avatar_url":"https://avatars3.githubusercontent.com/u/110114?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-14T04:15:31Z","updated_at":"2018-07-14T17:52:49Z","closed_at":null,"author_association":"NONE","body":"# This is a (Bug Report / Feature Proposal)\r\nQuestion\r\n\r\n## Description\r\n\r\nHi, is there a way to copy additional directories on a per-function basis? For example, I have a `createEmail` function located at `lib/createEmail` that also has a `templates` directory. I need that copied with the function, but it doesn't copy. However, I also don't want that directory copied to other functions that live in the same project.\r\n\r\nThank you!\r\n\r\nFor bug reports:\r\n* What went wrong?\r\n* What did you expect should have happened?\r\n* What was the config you used?\r\n* What stacktrace or error message from your provider did you see?\r\n\r\nFor feature proposals:\r\n* What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.\r\n* If there is additional config how would it look\r\n\r\nSimilar or dependent issue(s):\r\n* #12345\r\n\r\n## Additional Data\r\n\r\n* ***Serverless-Webpack Version you're using***:\r\n5.2.0\r\n* ***Webpack version you're using***:\r\n4.16\r\n* ***Serverless Framework Version you're using***:\r\n1.28\r\n* ***Operating System***:\r\nOSX High Sierra\r\n* ***Stack Trace (if available)***:\r\n"},"comment":{"url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/comments/405039334","html_url":"https://github.com/serverless-heaven/serverless-webpack/issues/425#issuecomment-405039334","issue_url":"https://api.github.com/repos/serverless-heaven/serverless-webpack/issues/425","id":405039334,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTAzOTMzNA==","user":{"login":"jamesdixon","id":110114,"node_id":"MDQ6VXNlcjExMDExNA==","avatar_url":"https://avatars3.githubusercontent.com/u/110114?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T17:52:48Z","updated_at":"2018-07-14T17:52:48Z","author_association":"NONE","body":"@HyperBrain I just tried `copy-webpack-plugin` in accordance with the advice of #361, but I'm not sure to get specific files to be included in the package of specific functions rather than being copied to every function. Any suggestions?"}}
{"actor":{"display_login":"jamesdixon"}}