Skip to content
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]: Vue style loss since Rspack v1.0.4 #7869

Closed
ritilyn1991 opened this issue Sep 11, 2024 · 8 comments · Fixed by #7878
Closed

[Bug]: Vue style loss since Rspack v1.0.4 #7869

ritilyn1991 opened this issue Sep 11, 2024 · 8 comments · Fixed by #7878
Assignees
Labels
bug Something isn't working

Comments

@ritilyn1991
Copy link

Version

System:
OS: macOS sonoma 14.6.1
Binaries:
Node: 18.20.4 - /usr/local/bin/node
npm: 10.7.0 - /usr/local/bin/npm
Browsers:
Chrome: 128.0.6613.120
npmPackages:
@rspack/core: 1.0.2

Details

When I used @rspack/core@1.0.2, the page style of vue3 was lost (each page was loaded asynchronously). When I rolled back the version to 1.0.1-beta.13, everything was normal

Reproduce link

No response

Reproduce Steps

rsbuild dev

Copy link
Contributor

Hello @ritilyn1991. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️

@ritilyn1991
Copy link
Author

@chenjiahan
Copy link
Member

This seems to be a bug in Rspack v1.0.4. When using unplugin-vue-components, the style of Vue components is lost.

Minimal reproduction: https://github.com/chenjiahan/rspack-repro-vue-style-lose

  1. pnpm i
  2. pnpm build
  3. No .css output since Rspack 1.0.4

@chenjiahan chenjiahan transferred this issue from web-infra-dev/rsbuild Sep 11, 2024
@chenjiahan chenjiahan changed the title [Bug]: vue style loss [Bug]: Vue style loss since Rspack v1.0.4 Sep 11, 2024
@chenjiahan chenjiahan added the bug Something isn't working label Sep 11, 2024
@chenjiahan
Copy link
Member

You can pin Rspack to v1.0.3 before we fix it.

@chenjiahan chenjiahan assigned h-a-n-a and unassigned ahabhgk Sep 12, 2024
@chenjiahan
Copy link
Member

Related to #7846

We will release a new version to fix this issue soon.

@beliefgp
Copy link

When will it be released?

@chenjiahan
Copy link
Member

Today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants