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

Wrong packaging order with css #29

Closed
joy-yu opened this issue May 11, 2024 · 2 comments
Closed

Wrong packaging order with css #29

joy-yu opened this issue May 11, 2024 · 2 comments

Comments

@joy-yu
Copy link

joy-yu commented May 11, 2024

When I used manualChunksPlugin, I found that there was a problem with the css packaging order.

I have put import './styles/app-main.scss'; in the first line in main.ts.

In the final css packaging product, this part of css should be at the first. But that's not actually the case.

@joy-yu
Copy link
Author

joy-yu commented May 11, 2024

🤔 It seems like a vite bug, so I closed the issue here. vitejs/vite#6375

@joy-yu joy-yu closed this as completed May 11, 2024
@BranceLee
Copy link

check the https://github.com/vitejs/vite/issues/6375#issuecomment-2133064752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants