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(astro): incorrect path and build failure #2648

Merged
merged 2 commits into from May 22, 2023

Conversation

Dunqing
Copy link
Member

@Dunqing Dunqing commented May 22, 2023

close: #2646

The real file path should be used here, but I don't know why it works in the unocss example.
I have tested it in the broken repo and that work.

And the build failure was also fixed...

@Dunqing Dunqing requested a review from antfu as a code owner May 22, 2023 13:18
@netlify
Copy link

netlify bot commented May 22, 2023

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6e00112
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/646b712b4223c20009d031a0
😎 Deploy Preview https://deploy-preview-2648--unocss.netlify.app
📱 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.

@Dunqing Dunqing marked this pull request as draft May 22, 2023 13:30
@Dunqing Dunqing marked this pull request as ready for review May 22, 2023 13:43
@Dunqing Dunqing changed the title fix(astro): incorrect path fix(astro): incorrect path and build failure May 22, 2023
@antfu antfu merged commit 1c61fac into unocss:main May 22, 2023
10 checks passed
if (id === UNO_INJECT_ID)
return id
if (importer?.endsWith(UNO_INJECT_ID))
return `${id}${id.includes('?') ? '&' : '?'}${UNO_QUERY_KEY}`
if (importer?.endsWith(UNO_INJECT_ID) && config && config.command === 'serve') {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need remove && config here @antfu Can you help me?

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.

0.52.0 broke Astro integration
2 participants