Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Adding Serverless Layers Support #267

Merged
merged 3 commits into from
Apr 4, 2022

Conversation

mmeyers-xomly
Copy link
Contributor

Adding support for layers, since they currently break on packaging because serverless is looking for the layers files in the delete .build directory.

Based off this pull request from years ago: #128

This resolves this issue: #240

@mmeyers-xomly mmeyers-xomly changed the title Serverless Layers Fix fix: Adding Serverless Layers Support Mar 19, 2022
Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @mmeyers-xomly !

@medikoo medikoo merged commit a4407c9 into serverless:master Apr 4, 2022
@ejhayes
Copy link

ejhayes commented Dec 21, 2022

FWIW this does not appear to do any typescript compilation for layers that might include typescript files.

@bernardodesousa
Copy link

Is there anything special I need to do in the layer configuration for this to work? We have a layer with a zip file in it. It stops working when I add the plugin. I get an OperationalError. It says the file is not in .serverless folder, so I'm assuming there's a copy step that's been skipped.

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

Successfully merging this pull request may close these issues.

4 participants