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 · Oct 18, 2026

temporal-workflows-webpack-plugin has 321 recorded weekly downloads on npm, a decrease of 35.7% over the past 30 days, ranking #1610 of 2,322 tracked listings.

Weekly downloads
321
Official API · Oct 18, 2026
7-day growth
-29.6%
-135 weekly downloads
30-day growth
-35.7%
-178 weekly downloads
90-day growth
+7925%
+317 weekly downloads
Rank
#1610
Among tracked npm listings

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: 321 weekly downloads as of Oct 18, 2026, +7925% over 90 days.temporal-workflows-webpack-pluginWeekly downloads on npm · Last 90 days321downloads / week+7925% over 90 days0100200300400500600700Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
temporal-workflows-webpack-plugin weekly downloads on npm, last 90 days: 321 weekly downloads as of Oct 18, 2026, +7925% over 90 days.

7/30/90-day growth

temporal-workflows-webpack-plugin weekly downloads growth on npm: -29.6% over 7 days, -35.7% over 30 days, +7925% over 90 days.temporal-workflows-webpack-pluginWeekly downloads growth on npm321downloads / week now7-day growth-135 weekly downloads-29.6%30-day growth-178 weekly downloads-35.7%90-day growth+317 weekly downloads+7925%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
temporal-workflows-webpack-plugin weekly downloads growth on npm: -29.6% over 7 days, -35.7% over 30 days, +7925% over 90 days.

Ranking history

temporal-workflows-webpack-plugin npm ranking history: currently #1610 (by weekly downloads).temporal-workflows-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1610current rank#1540#1550#1560#1570#1580#1590#1600#1610#1620Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
temporal-workflows-webpack-plugin npm ranking history: currently #1610 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 81, #14 (overall #1,614)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 4, #20 (overall #80)
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 (122)
Recent weekly downloads observations for temporal-workflows-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
321+3
3180
318-86
404-136
540-99
6390
639+183
456-7
4630
463+66
397+48
349-103
452-49
501—

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 Oct 20, 2026. See the methodology.