Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added --prebuiltDirectory #116

Merged
merged 4 commits into from Jun 28, 2016
Merged

added --prebuiltDirectory #116

merged 4 commits into from Jun 28, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 24, 2016

I use Webpack both to get the latest language features and get around the 'npm link' and dependencies with local paths problem; non of which seems to be supported by node-lambda.

The new --prebuiltDirectory flag is useful for working with Webpack. It skips npm install --production and post_install.sh and simply packages the specified directory.

sean shirazi added 4 commits June 24, 2016 18:36
When using webpack, we may have one npm package and multiple lambda
functions sharing code. Lambda functions don't necessarily have a
package.json in them.
@DeviaVir
Copy link
Collaborator

+1; @sean-shirazi great work, even added tests! 👍

@DeviaVir DeviaVir merged commit cec1b33 into motdotla:master Jun 28, 2016
@ghost
Copy link
Author

ghost commented Jun 28, 2016

@DeviaVir Fantastic. Thanks.

@DeviaVir DeviaVir mentioned this pull request Jun 28, 2016
@DeviaVir
Copy link
Collaborator

this change has been deployed to 0.8.6 on https://www.npmjs.com/package/node-lambda

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

Successfully merging this pull request may close these issues.

1 participant