webpack-node-externals
serverless-jetpack
webpack-node-externals | serverless-jetpack | |
---|---|---|
2 | 2 | |
1,291 | 273 | |
- | 0.0% | |
0.0 | 3.1 | |
4 months ago | 11 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.
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.
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
What are some alternatives?
lambda-layer-sharp - An AWS Lambda Layer for the Sharp node module. Automatically published on updates.
serverless-webpack - Serverless plugin to bundle your lambdas with Webpack
chrome-aws-lambda - Chromium Binary for AWS Lambda and Google Cloud Functions
serverless-plugin-tree-shake - Shake the dependency tree and only package files needed
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
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 ⌛️