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(postcss): fix export from unocss #2255

Merged
merged 1 commit into from
Feb 24, 2023
Merged

fix(postcss): fix export from unocss #2255

merged 1 commit into from
Feb 24, 2023

Conversation

sibbng
Copy link
Member

@sibbng sibbng commented Feb 24, 2023

unocss/postcss was only exporting an object

unocss/postcss: { postcss: true }
@unocss/postcss [Function: unocss] { postcss: true }

@sibbng sibbng requested a review from antfu as a code owner February 24, 2023 13:50
@netlify
Copy link

netlify bot commented Feb 24, 2023

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 083794c
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/63f8c0c298f662000834b045
😎 Deploy Preview https://deploy-preview-2255--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.

@@ -1 +1,2 @@
export * from '@unocss/postcss'
import postcss from '@unocss/postcss'
export default postcss
Copy link
Member Author

Choose a reason for hiding this comment

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

Main change is here, other changes didn't even have an effect. I just added them for consistency.

@antfu antfu merged commit cb1784f into main Feb 24, 2023
@antfu antfu deleted the fix/postcss-export branch February 24, 2023 14:01
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