mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-02 06:58:13 +00:00
fix css transforms for mobile
This commit is contained in:
parent
d8d9dd22c9
commit
cd9dc6ecb5
6 changed files with 10 additions and 14 deletions
quartz/plugins/emitters
|
@ -13,7 +13,7 @@ import { BuildCtx } from "../../ctx"
|
|||
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[]
|
||||
|
@ -161,6 +161,7 @@ export const ComponentResources: QuartzEmitterPlugin<Options> = (opts?: Partial<
|
|||
filename: "index.css",
|
||||
code: Buffer.from(stylesheet),
|
||||
minify: true,
|
||||
include: Features.MediaQueries
|
||||
}).code.toString(),
|
||||
}),
|
||||
emit({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue