import type { ResolvedConfig, Plugin } from 'vite'; import MagicString from 'magic-string'; import { PreprocessorGroup, ResolvedOptions } from './options'; import { log } from './log'; import path from 'path'; /** * this appends a *{} rule to component styles to force the svelte compiler to add style classes to all nodes * That means adding/removing class rules from