digitalmaas / serverless-plugin-browserifier

Reduce the size and speed up your Node.js based lambda's using browserify.
Other
27 stars 4 forks source link

Fix Cannot access package artifact in serverless v2.51.1 #40

Closed tommy31 closed 3 years ago

tommy31 commented 3 years ago

Fix for serverless v2.51.1. Move bundleAllFunctions/ bundleFunction process to prepareAllFunctions/prepareFunction, as serverless now check for artifact before firering event after:package:createDeploymentArtifacts.

nolde commented 3 years ago

Hey @tommy31 !

Thanks for letting me know, and for creating the PR.

I had some other changes in the pipeline, and also adjusted this one to properly support deploy function as well. If you are keen to test it, please install serverless-plugin-browserifier@next and try the release candidate out!

I'll close this PR. Thanks again!