swc-project / swc-project/plugins

storybook7 + vitejs + vitejs/plugin-react-swc + @swc/plugin-styled-components + MDX file + run build-storybook BOOM

Open
#214 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
389
Forks
106
Avg merge
10m
Merged PRs (30d)
1

Description

Hello,

When i add this plugin @swc/plugin-styled-components to my proyect with this configuration and try buiild-storybook it broken

Captura de pantalla 2023-09-16 a las 18 51 28

i pass you codesandbox for you to test where you can see this bug

https://codesandbox.io/p/github/tastafur/test-storyboo/main

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox and run build-storybook using the configuration shown in the issue, including the MDX file and the listed SWC plugins. Compare the build output with the reported failure; done means the reproduction and its build behavior are understood well enough to identify the failing integration.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, storybook, vite
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.