temporal-workflows-webpack-plugin weekly downloads statistics
By sytnikk · npm · Webpack plugins
Webpack plugin for bundling Temporal workflows with @temporalio/worker
temporal-workflows-webpack-plugin has 318 recorded weekly downloads on npm, a decrease of 30.4% over the past 30 days.
It ranks #1548 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +7850%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About temporal-workflows-webpack-plugin
Temporal Workflows Webpack Plugin
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.
Quick Start
This will create ./dist/workflows/workflows.js with all workflows from ./src/workflows.
Usage
Basic Configuration
With Temporal Bundler Options
TypeScript
API
TemporalWorkflowsPluginOptions
| Option | Type | Required | Description |
| defaultOutputDir | string | ✅ | Default directory for output files | | workflows | WorkflowBundleConfig[] | ✅ | List of workflows to bundle | | globalBundleOptions | Omit | ❌ | Global options for all workflows |
WorkflowBundleConfig
| Option | Type | Required | Description |
| workflowsPath | string | ✅ | Path to entry file with workflows | | name | string | ❌ | Output file name (without .js) | | outputPath | string | ❌ | Full path to output file | | bundleOptions | Omit | ❌ | 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
Multiple Workflows
With Module Ignoring
With Custom Webpack Config
How It Works
1. Build mode: When running webpack (webpack build), the plugin bundles all specified workflows 2. Watch mode: When files change (webpack watch), the plugin determines which workflow is affected and rebuilds only that one 3. Output: A separate .js file with bundled code is created for each workflow
Troubleshooting
Module cannot be used in workflow
If you see an error like "Cannot use module X in workflow":
Need source maps
Source maps are enabled by default in Temporal bundler.
Workflow not rebuilding in watch mode
Make sure webpack is properly tracking changes in your workflow files.
Compatibility
• Node.js: >= 18.0.0 • Webpack: ^4.0.0 || ^5.0.0 • @temporalio/worker: ^1.0.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
Author
Created with ❤️ for the Temporal community
Description from the npm listing.
- webpack
- webpack-plugin
- temporal
- temporalio
- workflow
- bundler
Where temporal-workflows-webpack-plugin sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
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 19, 2026. See the methodology.