fix: Switch to Tailwind v3 - v4 incompatible with Astro

This commit is contained in:
Kunthawat
2026-03-12 18:06:44 +07:00
parent 821c328bbc
commit 3fb9f89bc3
3652 changed files with 357284 additions and 59303 deletions

View File

@@ -65,10 +65,9 @@ class NoWorkResult {
this._css = css
this._opts = opts
this._map = undefined
let root
let str = stringify
this.result = new Result(this._processor, root, this._opts)
this.result = new Result(this._processor, undefined, this._opts)
this.result.css = css
let self = this
@@ -78,7 +77,7 @@ class NoWorkResult {
}
})
let map = new MapGenerator(str, root, this._opts, css)
let map = new MapGenerator(str, undefined, this._opts, css)
if (map.isMap()) {
let [generatedCSS, generatedMap] = map.generate()
if (generatedCSS) {