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

feat!: normalize extraction content sources #2719

Merged
merged 6 commits into from Jun 4, 2023
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Jun 4, 2023

rework #2503, thanks to @sibbng

close #2503

Breaking changes:

  • extraContent option is renamed to content
  • include option is moved to content.pipeline.include
  • exclude option is moved to content.pipeline.exclude
  • content.plain is removed to content.inline
  • inline content option in PostCSS plugin is removed in favor of the normalized content option in uno.config.ts

Features:

For more details, please refer to https://unocss.dev/guide/extracting#content-sources

@netlify
Copy link

netlify bot commented Jun 4, 2023

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit d3b4120
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/647c8373a73bb7000878cc09
😎 Deploy Preview https://deploy-preview-2719--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.

@antfu antfu changed the title feat!: normalize extraction content sources feat!: normalize extraction content sources Jun 4, 2023
@antfu antfu merged commit 3d0c60f into main Jun 4, 2023
10 checks passed
@antfu antfu deleted the feat/rework-content branch June 4, 2023 12:38
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

1 participant