Skip to content

fix(migrate): emit #lib in <style> tags - #1513

Open
sacrosanctic wants to merge 1 commit into
sveltejs:mainfrom
sacrosanctic:subpath-in-css
Open

sacrosanctic wants to merge 1 commit into
sveltejs:mainfrom
sacrosanctic:subpath-in-css

Conversation

@sacrosanctic

Copy link
Copy Markdown
Contributor

Fixes #1461

Vite 8.4 resolves `#`-prefixed subpath imports in CSS `url()` (vitejs/vite#16155), so style tags can use `#lib` consistently like every other import. Raises the migration's Vite floor to ^8.4.0 accordingly.

Fixes sveltejs#1461
@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of sv from c714e53:

pnx https://pkg.svelte.dev/sv/c/c714e53bc8bc7ceca4dc6bb507f307267fa1c1a5 create

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1513

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c714e53

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sacrosanctic sacrosanctic changed the title fix(migrate): emit #lib in <style> tagstags fix(migrate): emit #lib in <style> tagstags Nov 27, 2026
@manuel3108 manuel3108 changed the title fix(migrate): emit #lib in <style> tagstags fix(migrate): emit #lib in <style> tags Nov 27, 2026
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.

Tracking: Vite doesn't resolve #lib in CSS url() (blocks #lib in <style> tags)

2 participants