| | |
| | | import { StaticResources } from "../../resources" |
| | | import { QuartzComponent } from "../../components/types" |
| | | import { googleFontHref, joinStyles } from "../../theme" |
| | | import { transform } from "lightningcss" |
| | | import { Features, transform } from "lightningcss" |
| | | |
| | | type ComponentResources = { |
| | | css: string[] |
| | |
| | | filename: "index.css", |
| | | code: Buffer.from(stylesheet), |
| | | minify: true, |
| | | targets: { |
| | | safari: (15 << 16) | (6 << 8), // 15.6 |
| | | edge: 115 << 16, |
| | | firefox: 102 << 16, |
| | | chrome: 109 << 16, |
| | | }, |
| | | include: Features.MediaQueries, |
| | | }).code.toString(), |
| | | }), |
| | | emit({ |