335c4n0r

svelte/5/is-where-scoping

No description available

Legacy
svelte5migration
Public
0 downloads
0 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod updates CSS handling in your project:

  • Transforms Tailwind @apply directives and CSS selectors by adding :global() inside :is(...) and :where(...) selectors.
  • Applies changes to CSS within <style> tags in Svelte files.
  • Ensures global scope is properly applied to Tailwind utilities and complex selectors.

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.