vite-plugin-css-auto-import (npm): The plugin is designed specifically for folks who are tired of this:
Keywords: vite|vitejs|vite plugin|vite-plugin|jsx|tsx|typescript|react|solid|postcss|css|css-modules|css modules|import css|scss|sass|less