Styling-Webpack
A base addon for configuring popular styling tools in Webpack
npm install @storybook/addon-styling-webpack
9.9k
Downloads per week
Made by Storybook
Readme View on GitHub
@storybook/addon-styling-webpack
Get started in Storybook 7 faster with popular styling tools.
✨ Features
- 🤖 Zero-config for popular tools through codemods.
- 🧩 Configuration templates for popular tools
- ⚡️ Options for CSS modules, PostCSS, Sass, Less, and Vanilla-extract
🏁 Getting Started
To get started, install the package using the Storybook CLI
pnpm:
pnpm dlx storybook@latest add @storybook/addon-styling-webpack
yarn:
yarn dlx storybook@latest add @storybook/addon-styling-webpack
npm:
npx storybook@latest add @storybook/addon-styling-webpack
🤝 Contributing
If you'd like to contribute to this addon, THANK YOU, I'd love your help 🙏
📝 Development scripts
pnpm build
build and package your addon code
🌲 Branch structure
- next - the
next
version on npm, and the development branch where most work occurs - main - the
latest
version on npm and the stable version that most users use
🚀 Release process
- All PRs should target the
next
branch, which depends on thenext
version of Storybook. - When merged, a new version of this package will be released on the
next
NPM tag. - If the change contains a bugfix that needs to be patched back to the stable version, please note that in PR description.
- PRs labeled
pick
will get cherry-picked back to themain
branch and will generate a release on thelatest
npm tag.