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

fix: make resolve & load order insensitive #1112

Merged
merged 1 commit into from Jun 18, 2022
Merged

fix: make resolve & load order insensitive #1112

merged 1 commit into from Jun 18, 2022

Conversation

QiroNT
Copy link
Member

@QiroNT QiroNT commented Jun 18, 2022

Fix sometime vite will return a 404 for /__uno.css upon start.

Idk why, but it seems like vite's analysis process will resolve /__uno.css before uno.css.
This pr makes /__uno.css available even if uno.css haven't been resolved.

HMR on webpack is not strictly tested, it only works in nuxt sometimes.

@QiroNT QiroNT requested a review from antfu as a code owner June 18, 2022 04:33
@netlify
Copy link

netlify bot commented Jun 18, 2022

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit d7456c5
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/62ad55b771da0b0008194aa0
😎 Deploy Preview https://deploy-preview-1112--unocss.netlify.app/play
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antfu antfu merged commit 3d403bf into main Jun 18, 2022
@antfu antfu deleted the fix/resolve-order branch June 18, 2022 05:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants