func main() {
	out, err := os.Create("embed_gen.go")
	if err != nil {
		panic(err)
	}
	defer out.Close()
	twf := twfiles.New("../upstream/out")
	fmt.Fprintf(out, `package twembed
`)
	for _, name := range []string{"base", "components", "utilities"} {
		rc, err := twf.OpenDist(name)
		if err != nil {
			panic(err)
		}
		defer rc.Close()
		b, err := ioutil.ReadAll(rc)
		if err != nil {
			panic(err)
		}
		fmt.Fprintf(out, "func tw%s() string {\n\treturn %q\n}\n\n", name, b)
	}
	pkm, err := twpurge.PurgeKeysFromDist(twf)
	if err != nil {
		panic(err)
	}
	fmt.Fprintf(out, "var twPurgeKeyMap = %#v\n\n", pkm)
}
read from upstream folder and build copy of tailwindcss embedded in this project
package main
import (
	"fmt"
	"io/ioutil"
	"os"
	"github.com/gotailwindcss/tailwind/twfiles"
	"github.com/gotailwindcss/tailwind/twpurge"
)