Skip to content
PluginStats

temporal-workflows-webpack-plugin weekly downloads statistics

By sytnikk · npm · Webpack plugins

Webpack plugin for bundling Temporal workflows with @temporalio/worker

View on npm Fresh · Dec 6, 2026

temporal-workflows-webpack-plugin has 716 recorded weekly downloads on npm, a decrease of 18.9% over the past 30 days, ranking #2177 of 3,247 tracked listings.

Weekly downloads
716
Official API · Dec 5, 2026
7-day growth
-50.7%
-737 weekly downloads
30-day growth
-18.9%
-167 weekly downloads
90-day growth
+714%
+628 weekly downloads
Rank
#2177
▼ 296 in 7 days

About temporal-workflows-webpack-plugin

Temporal Workflows Webpack Plugin

<div align="center"> <a href="https://www.npmjs.com/package/temporal-workflows-webpack-plugin"> <img src="https://img.shields.io/npm/v/temporal-workflows-webpack-plugin.svg?style=flat-square" alt="npm version" /> </a> <a href="https://www.npmjs.com/package/temporal-workflows-webpack-plugin"> <img src="https://img.shields.io/npm/dm/temporal-workflows-webpack-plugin.svg?style=flat-square" alt="npm downloads" /> </a> <a href="https://github.com/sytnikk/temporal-workflows-webpack-plugin/blob/main/LICENSE"> <img src="https://img.shields.io/npm/l/temporal-workflows-webpack-plugin.svg?style=flat-square" alt="license" /> </a> <a href="https://github.com/sytnikk/temporal-workflows-webpack-plugin/actions"> <img src="https://img.shields.io/github/actions/workflow/status/sytnikk/temporal-workflows-webpack-plugin/ci.yml?branch=main&style=flat-square" alt="build status" /> </a> <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square" alt="semantic-release" /> <a href="http://makeapullrequest.com"> <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" alt="PR's Welcome" /> </a> </div> <br />

Webpack plugin for automatic bundling of Temporal workflows using @temporalio/worker.

Why do you need this?

Temporal workflows require special bundling via bundleWorkflowCode because they:

  • Run in an isolated V8 isolate
  • Cannot use Node.js APIs directly
  • Must be deterministic

Typically, developers handle this manually through separate npm scripts. This plugin integrates the bundling process directly into your webpack build pipeline.

Features

  • ✅ Automatic bundling of workflows during project build
  • ⚡ Watch mode with incremental rebuilds
  • 🎯 Full support for all BundleOptions from @temporalio/worker
  • 🔧 Flexible configuration - global and per-workflow options
  • 📦 TypeScript typings out of the box
  • 🚀 Zero config for simple cases

Installation

Prerequisites: This plugin requires @temporalio/worker to be installed in your project.

# Install the plugin as a dev dependency
npm install --save-dev temporal-workflows-webpack-plugin

# If you don't have @temporalio/worker yet, install it as well
npm install @temporalio/worker

# or with yarn
yarn add -D temporal-workflows-webpack-plugin
yarn add @temporalio/worker

# or with pnpm
pnpm add -D temporal-workflows-webpack-plugin
pnpm add @temporalio/worker

Quick Start

// webpack.config.js
const TemporalWorkflowsPlugin = require('temporal-workflows-webpack-plugin');

module.exports = {
  // ... your webpack config
  plugins: [
    new TemporalWorkflowsPlugin({
      defaultOutputDir: './dist/workflows',
      workflows: [
        { workflowsPath: './src/workflows' }
      ]
    })
  ]
};

This will create ./dist/workflows/workflows.js with all workflows from ./src/workflows.

Usage

Basic Configuration
new TemporalWorkflowsPlugin({
  defaultOutputDir: './dist/workflows',
  workflows: [
    { 
      workflowsPath: './src/workflows/orders',
      name: 'order-workflows' 
    },
    { 
      workflowsPath: './src/workflows/payments',
      name: 'payment-workflows'
    }
  ]
})
With Temporal Bundler Options
new TemporalWorkflowsPlugin({
  defaultOutputDir: './dist/workflows',
  
  // Global options apply to all workflows
  globalBundleOptions: {
    ignoreModules: ['some-problematic-module'],
    workflowInterceptorModules: ['./src/workflow-interceptors']
  },
  
  workflows: [
    { 
      workflowsPath: './src/workflows/critical',
      name: 'critical',
      // Local options override global ones
      bundleOptions: {
        webpackConfigHook: (config) => ({
          ...config,
          optimization: { minimize: true }
        })
      }
    }
  ]
})
TypeScript
import TemporalWorkflowsPlugin, { 
  TemporalWorkflowsPluginOptions 
} from 'temporal-workflows-webpack-plugin';
import { Configuration } from 'webpack';

const config: Configuration = {
  plugins: [
    new TemporalWorkflowsPlugin({
      defaultOutputDir: './dist/workflows',
      workflows: [
        { workflowsPath: './src/workflows' }
      ]
    } as TemporalWorkflowsPluginOptions)
  ]
};

API

TemporalWorkflowsPluginOptions
OptionTypeRequiredDescription
defaultOutputDirstring✅Default directory for output files
workflowsWorkflowBundleConfig[]✅List of workflows to bundle
globalBundleOptionsOmit<BundleOptions, 'workflowsPath'>❌Global options for all workflows
WorkflowBundleConfig
OptionTypeRequiredDescription
workflowsPathstring✅Path to entry file with workflows
namestring❌Output file name (without .js)
outputPathstring❌Full path to output file
bundleOptionsOmit<BundleOptions, 'workflowsPath'>❌Bundler options for this workflow
BundleOptions (from @temporalio/worker)

See the full list of options in Temporal documentation.

Main options:

  • ignoreModules - modules to exclude from bundle
  • webpackConfigHook - function to modify webpack config
  • workflowInterceptorModules - paths to workflow interceptors
  • payloadConverterPath - path to custom payload converter
  • failureConverterPath - path to custom failure converter

Examples

Simple Project
new TemporalWorkflowsPlugin({
  defaultOutputDir: './dist/workflows',
  workflows: [
    { workflowsPath: './src/workflows' }
  ]
})
Multiple Workflows…

Description from the npm listing.

  • webpack
  • webpack-plugin
  • temporal
  • temporalio
  • workflow
  • bundler

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

temporal-workflows-webpack-plugin weekly downloads on npm, last 90 days: 716 weekly downloads as of Dec 5, 2026, +714% over 90 days.temporal-workflows-webpack-pluginWeekly downloads on npm · Last 90 days716downloads / week+714% over 90 days02004006008001K1.2K1.4K1.6KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
temporal-workflows-webpack-plugin weekly downloads on npm, last 90 days: 716 weekly downloads as of Dec 5, 2026, +714% over 90 days.

7/30/90-day growth

temporal-workflows-webpack-plugin weekly downloads growth on npm: -50.7% over 7 days, -18.9% over 30 days, +714% over 90 days.temporal-workflows-webpack-pluginWeekly downloads growth on npm716downloads / week now7-day growth-737 weekly downloads-50.7%30-day growth-167 weekly downloads-18.9%90-day growth+628 weekly downloads+714%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
temporal-workflows-webpack-plugin weekly downloads growth on npm: -50.7% over 7 days, -18.9% over 30 days, +714% over 90 days.

Ranking history

temporal-workflows-webpack-plugin npm ranking history: currently #2177 (by weekly downloads).temporal-workflows-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2177current rank#1500#1600#1700#1800#1900#2000#2100#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
temporal-workflows-webpack-plugin npm ranking history: currently #2177 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 109, #17 (overall #2,177)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 5, #12 (overall #92)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for temporal-workflows-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
716-1
717-133
850-52
902-91
993-169
1,162-287
1,449-4
1,453-1
1,454+23
1,431+172
1,259+122
1,137+150
987+308
679—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/temporal-workflows-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.