serverless-externals-plugin
webpack-node-externals
Our great sponsors
serverless-externals-plugin | webpack-node-externals | |
---|---|---|
1 | 2 | |
8 | 1,289 | |
- | - | |
3.3 | 0.0 | |
7 months ago | 3 months ago | |
TypeScript | 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-externals-plugin
-
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.
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-jetpack - A faster JavaScript packager for Serverless applications.
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
serverless-plugin-tree-shake - Shake the dependency tree and only package files needed
serverless-webpack - Serverless plugin to bundle your lambdas with Webpack
date-fns - ⏳ Modern JavaScript date utility library ⌛️
minipack - 📦 A simplified example of a modern module bundler written in JavaScript
server-side-rendering-with-cra-on-netlify - Server-side rendering for any React app on any FaaS provider - elaborating by a demo app of SSR with CRA on Netlify
transpile-webpack-plugin - Transpiles input files into output files individually without bundling together