serverless-jetpack
webpack-node-externals
Our great sponsors
serverless-jetpack | webpack-node-externals | |
---|---|---|
2 | 2 | |
273 | 1,291 | |
0.4% | - | |
3.1 | 0.0 | |
11 months ago | 4 months ago | |
JavaScript | JavaScript | |
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.
serverless-jetpack
-
Deploy a NestJS API to AWS Lambda with Serverless Framework
Notice the serverless-jetpack plugin - it takes care of packaging our app very efficiently for Serverless. There are other plugins for this, but I've discovered this one recently and it's a lot faster than others I've used so far. Read more about it on its official github page.
-
How we keep our Serverless deploy times short and avoid headaches
Serverless Jetpack
webpack-node-externals
-
Server-side rendering for any React app on any FaaS provider
The webpack plugin transpile-webpack-plugin collects files directly or indirectly imported by the entry, then gets them compiled and ouputted preserving the directory structure. The webpack helper webpack-node-externals externalizes installed deps to reduce the outputted file count.
-
How we keep our Serverless deploy times short and avoid headaches
By default, Serverless Webpack doesn't support externals, but Webpack can use Webpack Node Externals to exclude all modules from the bundle. All included modules have to be allowlisted, but this plugin doesn't look at subdependencies. When used with custom.webpack.includeModules, the non-allowlisted modules are added to the deployment zip.
What are some alternatives?
serverless-webpack - Serverless plugin to bundle your lambdas with Webpack
lambda-layer-sharp - An AWS Lambda Layer for the Sharp node module. Automatically published on updates.
chrome-aws-lambda - Chromium Binary for AWS Lambda and Google Cloud Functions
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
serverless-plugin-tree-shake - Shake the dependency tree and only package files needed
serverless-express - Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
serverless-externals-plugin - Package only external modules, and let Rollup bundle all the other modules.
date-fns - ⏳ Modern JavaScript date utility library ⌛️