一个 Vite 插件,可以提取 CSS 内容,并通过 JS 将其添加到页面中。适合那些希望使用单个 JS 文件的人。
A Vite plugin that takes the CSS and adds it to the page through the JS. For those who want a single JS file.