Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Suggestions for configuration with multiple functions #1

Open
brettstack opened this issue Jul 22, 2016 · 1 comment
Open

Suggestions for configuration with multiple functions #1

brettstack opened this issue Jul 22, 2016 · 1 comment

Comments

@brettstack
Copy link

Hi, great setup. How would you go about setting this up so that you have multiple lambda functions in the one project? For example, currently the npm scripts are hardcoded with dist/index.default, and there is no simple way of adding args to the middle of these commands that I am aware of.

@flesch
Copy link
Owner

flesch commented Aug 26, 2016

Sorry to leave this open so long! I'm not sure how to go about making this possible. You'd have to be able to tell Webpack what the entry point is (which currently uses package.json's main), as well as updating the output and passing that to node-lambda.

It's interesting question though, so I'll try to work something out (or if you want to take a stab at it I'll gladly accept a PR).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants