serverless-heaven / serverless-webpack

Serverless plugin to bundle your lambdas with Webpack
MIT License
1.72k stars 417 forks source link

Serverless 4 Support #1923

Closed jiteshmanglani closed 1 month ago

jiteshmanglani commented 2 months ago

This is a Bug Report

Description

For bug reports:

Similar or dependent issue(s):

Additional Data

j0k3r commented 2 months ago

I checked quickly and it seems the v4 file structure completely changed.

v4 only expose the binary and that's all: https://www.npmjs.com/package/serverless?activeTab=code v3 exported usefull stuff that we are using internally: https://www.npmjs.com/package/serverless/v/3.39.0?activeTab=code

Maybe it needs a better check to see if we can find a workaround.

vicary commented 2 months ago

I've sent an email to Serverless, hopefully we get a reply soon.

jiteshmanglani commented 2 months ago

Any update on this?

vicary commented 1 month ago

@jiteshmanglani Unfortunately no responses are received thus far.

kevinlbatchelor commented 1 month ago

I pinged them on the slack channel, no response

vicary commented 1 month ago

Just received this reply via email, full response quoted below.

Hi Vicary,

Apologies for the slow reply. As you can imagine we have been quite busy.

As to your question, really the only standard requirement on our side is to ensure that the npm dependancies point to serverless@4 and not v3 anymore. If there is anything else that comes up as an issue, I would recommend adding an issue on the project GitHub as that will allow everyone on the engineering team the opportunity to see the issue publicly and work with you from there: https://github.com/serverless/serverless/issues

j0k3r commented 1 month ago

Support has been added in 5.15.0

jiteshmanglani commented 1 month ago

Thanks :+1: