# serverless-heaven/serverless-webpack

Serverless plugin to bundle your lambdas with Webpack

Repository: https://github.com/serverless-heaven/serverless-webpack
Canonical: https://ross.abutalabs.com/products/serverless-webpack
Language: JavaScript
License: MIT
License Family: permissive
Topics: serverless, webpack, babel, serverless-offline, webpack-configuration, serverless-plugin, webpack2, webpack3
Last push: 2026-08-24T05:34:36+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 80, longevity 100
- inputs: {"age_days": 3669, "days_push": 9, "days_rel": 54, "gap_med": 88.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1729, forks 408 (observed 2026-08-28T04:05:28.549445+00:00)

## What it is
A Serverless Framework plugin that bundles AWS Lambda functions with Webpack, supporting Babel transpilation, custom loaders, and per-function packaging with tree-shaking. It integrates with serverless-offline for local development and supports Webpack 3, 4, and 5.

## Use cases
- bundle lambda functions with webpack
- use babel and es6 in serverless functions
- reduce lambda package size with tree-shaking
- package each serverless function individually
- run serverless offline with webpack bundling
- compile typescript lambdas for deployment

## When to choose
- you use Serverless Framework and need Webpack's loaders, plugins, or tree-shaking for your lambdas
- you want smaller per-function Lambda packages with only needed dependencies
- you need Babel transpilation or custom resource loaders in your serverless build

## When to avoid
- you are happy with Serverless Framework's built-in ESBuild support
- your project does not use Serverless Framework
- you need bundling for non-JavaScript runtimes

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, deployment, developer-tools
- domain: web-development, backend
- platform: serverless, cli
- tags: serverless-framework, webpack, babel, lambda-packaging, tree-shaking, aws-lambda, serverless-offline, serverless, devops, nodejs

## Member repositories
- serverless-heaven/serverless-webpack (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.549445+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:57.521146+00:00, confidence not recorded.
  - readme: https://github.com/serverless-heaven/serverless-webpack (fetched 2026-08-28T04:05:28.549445+00:00, sha dea0ff000d84)
  - registry_npm: https://registry.npmjs.org/serverless-webpack (fetched 2026-08-29T11:09:03.086778+00:00, sha af9492c01c64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
