mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
import './imported.css'
|
|
import css from './imported.css?inline'
|
|
text('.imported-css', css)
|
|
|
|
function text(el, text) {
|
|
document.querySelector(el).textContent = text
|
|
}
|