-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: rslib run storybook can't parse *.less file and *jsx file #530
Comments
Please provide a minimal reproduction to help us address the issue, we cannot assist with troubleshooting based on the information currently provided. |
https://github.com/shimingw/rslib-bug-report/tree/main/rslib-project-demo this demo can recurrent the problem, when you run command |
|
sorry, i forgot push my .storybook folder, now, i had update my storybook/main.ts file. and update my dependency base on your example :https://github.com/rspack-contrib/storybook-rsbuild/blob/main/sandboxes/rslib-react-component/package.json. |
Version
System: OS: macOS 14.6 CPU: (8) arm64 Apple M3 Memory: 258.08 MB / 16.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 131.0.6778.109 Safari: 17.6 npmPackages: @rslib/core: ^0.1.2 => 0.1.2
Details
first problem
when i run
pnpm dev
orpnpm build
, i can run correctly. even i create a new project by rslib , i alose get this errorbut when i run
pnpm storybook
orpnpm build:storybook
, i get a less-loader error, like thissecond problem
if i use .jsx extension file, i will got a error, like this, even i create a new project by rslib and use javascript , i alose get this error
Reproduce link
none
Reproduce Steps
first problem
pnpm storybook
second proble
pnpm storybook
The text was updated successfully, but these errors were encountered: