A webpack plugin (v1.0.7) that collects dependency data from Storybook stories for use with storybook-addon-deps. Designed to work exclusively with Storybook's webpack configuration, it allows filtering on stories, excluding modules, controlling depth of dependency resolution, and picking specific module properties. Maintained as an accessory to the addon ecosystem. No active release cadence observed.
npm install storybook-dep-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Registers DependenciesPlugin in Storybook main.js using webpack config function.
Add 'storybook-addon-deps' to your Storybook addons and configure panel.
Ensure your project uses Storybook with webpack (default).
Test other plugins after adding; order may matter.
npm install --save-dev storybook-dep-webpack-plugin
const DependenciesPlugin = require('storybook-dep-webpack-plugin');No dependency data recorded yet.