nextjs-lambda
serverless-esbuild
nextjs-lambda | serverless-esbuild | |
---|---|---|
1 | 6 | |
178 | 455 | |
- | 0.0% | |
4.4 | 6.2 | |
about 2 months ago | 23 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nextjs-lambda
-
Have you noticed that AWS Amplify and NextJS don't seem to get as much attention as they deserve?
If you have the time and resources, I'd suggest to take a look at SST.dev and or OpenNext (created by the SST people). With that ISR should work (although they still seem to work on upgrading to v12). Or take a look at https://github.com/sladg/nextjs-lambda to run NextJS on a lambda exclusively.
serverless-esbuild
-
Simple requirement: Bundle dependencies into a single script. esbuild, webpack, bun build throw errors. Solution?
Support Yarn PnP with externals bundling #327
-
🚀 Top-level await in AWS Lamba with TypeScript
We use serverless-esbuild to transpile our TypeScript code to JavaScript.
-
AWS Lambda 101: Shave That Bundle Down
You should use appropriate tools to bundle your Lambda functions with a minimal size. For example, the Serverless Framework, with the serverless-esbuild plugin, automatically bundles your code and uploads it to AWS.
-
Announcing a Serverless Microservices Template with GraphQL
One of the most important aspects of serverless development is keeping an eye on your bundle sizes and to reduce cold start times on Lambda. Keeping this in mind, the template utilizes serverless-esbuild and serverless-analyze-bundle-plugin to provide function analysis out-of-the-box. I opted for serverless-esbuild over serverless-bundle for a few reasons:
-
[AWS Lambda] Optimizing node_modules in zip files
Its faster and easier to setup that webpack and drastically reduces the size of the archive. For Serverless framework users there is https://github.com/floydspace/serverless-esbuild and if you use SAM CLI, you already get this for free since they now use esbuild in the build process
-
Dependencies growing too large
if you can, try using https://github.com/floydspace/serverless-esbuild - esbuild is stupid fast and it produces tiny artifacts. Its dead simple too compared to the webpacks/rollups/etc.
What are some alternatives?
nextjs-jwt-auth-boilerplate - NextJS + ChakraUI + Prisma + JWT-based Authentication + Two-Factor Authentication + Sentry
serverless-bundle - Optimized packages for ES6 and TypeScript Node.js Lambda functions without any configuration.
amazon-ivs-multi-host-serverless-demo - A demo that shows how to implement a serverless nodejs application that supports a collaborative live streaming, or multi-host experience using Amazon IVS.
sls-mentor - Analyze your AWS serverless app in one command! 30+ best practices to improve costs💰 security🛡 stability🧘♀️ speed🚀 and sustainability🌱
serverless-express-lambda-cdk - An express serverless lambda project deployed with AWS CDK
serverless-analyze-bundle-plugin - A serverless plugin to visualize and analyze the bundle of a lambda bundled with serverless-esbuild.