@storybook/addon-webpack5-compiler-swc
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@storybook/addon-webpack5-compiler-swc

This addon adds SWC support to Storybook's webpack5 compiler. It adds the swc-loader to the webpack config and sets the swc-loader as the default loader for JavaScript and TypeScript files.

Installation

npx storybook@latest add @storybook/addon-webpack5-compiler-swc

Configuration

Please go to https://storybook.js.org/docs/api/main-config-swc for more information about how to configure SWC.

Package Sidebar

Install

npm i @storybook/addon-webpack5-compiler-swc

Weekly Downloads

60,088

Version

1.0.2

License

MIT

Unpacked Size

3.3 MB

Total Files

13

Last publish

Collaborators

  • yannbf
  • kasperpeulen
  • valentinpalkovic
  • jreinhold
  • shilman
  • ndelangen
  • hypnosphi
  • tmeasday
  • igor-dv