serverless-externals-plugin
Package only external modules, and let Rollup bundle all the other modules. (by bubblydoo)
serverless-webpack
Serverless plugin to bundle your lambdas with Webpack (by serverless-heaven)
Our great sponsors
serverless-externals-plugin | serverless-webpack | |
---|---|---|
1 | 5 | |
8 | 1,719 | |
- | -0.1% | |
3.6 | 9.3 | |
15 days ago | 4 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-externals-plugin
Posts with mentions or reviews of serverless-externals-plugin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
-
How we keep our Serverless deploy times short and avoid headaches
The dependency tree is quite complicated when you take different versions into account, see our README for an example. This plugin handles different versions correctly.
serverless-webpack
Posts with mentions or reviews of serverless-webpack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-29.
-
Using pure ESM npm packages in serverless-webpack bundles
Since I was using serverless-webpack along with Prisma's serverless-webpack-prisma helper, this meant a bit of extra Webpack config setup to get it all using the same module syntax without the usual dreaded 'Unexpected token export' or import error from Node.
-
Migrating a classic Express.js to Serverless Framework
As you can see in the above handler.js file, we're getting CommonJS instead of modern JavaScript or TypeScript. To get these, you need webpack or some other bundler. serverless-webpack exists if you want full control over your ecosystem, but there is also serverless-bundle that gives you a set of reasonable defaults on webpack 4 out of the box. We opted into this option to get us started quickly.
-
Running a scalable & reliable GraphQL endpoint with Serverless
cd app-backend/dynamodb yarn install To test the GraphQL endpoint locally on my machine, I’m using these three plugins for the Serverless Framework: Serverless Offline, Serverless Webpack and Serverless DynamoDB Local.
-
How we keep our Serverless deploy times short and avoid headaches
Serverless Webpack
-
Package your NodeJS Lambda functions individually with esbuild for faster cold-start times
The serverless framework supports an excellent workflow with the serverless-webpack plugin to package your functions individually with webpack. For AWS SAM, it's probably worth checking out the aws-sam-webpack-plugin, but I've found it far simpler to configure esbuild to perform the same task.
What are some alternatives?
When comparing serverless-externals-plugin and serverless-webpack you can also consider the following projects:
chrome-aws-lambda - Chromium Binary for AWS Lambda and Google Cloud Functions
esbuild - An extremely fast bundler for the web
webpack-node-externals - Easily exclude node modules in Webpack
serverless-jetpack - A faster JavaScript packager for Serverless applications.
serverless-plugin-tree-shake - Shake the dependency tree and only package files needed
lambda-layer-sharp - An AWS Lambda Layer for the Sharp node module. Automatically published on updates.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
aws-sam-webpack-plugin - A Webpack plugin to replace the build step for SAM CLI
serverless-externals-plugin vs chrome-aws-lambda
serverless-webpack vs esbuild
serverless-externals-plugin vs webpack-node-externals
serverless-webpack vs serverless-jetpack
serverless-externals-plugin vs serverless-plugin-tree-shake
serverless-webpack vs serverless-plugin-tree-shake
serverless-externals-plugin vs serverless-jetpack
serverless-webpack vs lambda-layer-sharp
serverless-externals-plugin vs lambda-layer-sharp
serverless-webpack vs chrome-aws-lambda
serverless-webpack vs Knex
serverless-webpack vs aws-sam-webpack-plugin