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(svelte-scoped): respect passed options #2815

Merged
merged 4 commits into from Jul 22, 2023

Conversation

fehnomenal
Copy link
Contributor

While testing why the svelte scoped mode does not work with svelte 4 I noticed two things:

  1. The class prefix differs from the documented default.
  2. combine is forced during vite build to be true regardless of the passed config option.

This PR fixes both.

@fehnomenal fehnomenal requested a review from antfu as a code owner June 30, 2023 09:09
@netlify
Copy link

netlify bot commented Jun 30, 2023

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 135dad5
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/64a9e1e198f9ea0008641536
😎 Deploy Preview https://deploy-preview-2815--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 configuration.

@antfu antfu requested a review from jacob-8 July 8, 2023 15:05
Copy link
Contributor

@jacob-8 jacob-8 left a comment

Choose a reason for hiding this comment

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

Thanks, @fehnomenal! You can always ping me to save @antfu time.

@antfu, not sure why the Windows test is having trouble with finding rimraf on build.

@antfu antfu merged commit 994b302 into unocss:main Jul 22, 2023
9 of 10 checks passed
@fehnomenal fehnomenal deleted the svelte-scoped-options branch July 22, 2023 06:46
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

3 participants