app-stormkit-io icon indicating copy to clipboard operation
app-stormkit-io copied to clipboard

[feat] reduce next-js serverless bundle size

Open svedova opened this issue 3 years ago • 0 comments

With the new deployer version, the bundle size of next.js serverless apps is too big. It's very likely that big applications won't be able to deploy their apps to lambdas.

As an example https://github.com/stormkit-io/stormkit-examples/tree/master/next-starter is simple starter package, yet it's bundle size is around 46MB zipped and 160MB unzipped. Since the maximum is 50MB zipped, it's very likely that real projects will fail the upload.

Find a way to reduce the bundle size.

svedova avatar Nov 12 '21 19:11 svedova