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 "-s --static" option to prevent building of files #62

Merged
merged 4 commits into from
Oct 11, 2018

Conversation

8eecf0d2
Copy link
Contributor

@8eecf0d2 8eecf0d2 commented Oct 10, 2018

As to be expected, my webpack config / version is incompatible with the netlify-lambda package - this option prevents the entire build process and puts the responsibility back on the caller.

Additionally, the require cache is cleared each time the function is called.

By default there is no change in functionality and this change should be completely backwards compatible.

Usage

npx netlify-lambda serve <folder> -s

@swyxio
Copy link
Contributor

swyxio commented Oct 11, 2018

very interesting - will review - thank you!

@swyxio swyxio merged commit 85f2662 into netlify:master Oct 11, 2018
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.

2 participants