app-stormkit-io
app-stormkit-io copied to clipboard
[feat] reduce next-js serverless bundle size
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.