It’s strange that serverless is still using old versions of libraries (webpack 3, serverless-webpack 3.x). serverless-webpack 5.x is available! Why are we using these outdated versions still?
Where did you find it? see https://github.com/serverless/serverless/blob/master/package-lock.json
Sorry, I should’ve clarified: it’s only for certain templates.