mirror of
https://github.com/alrayyes/wiki.git
synced 2025-04-30 14:24:12 +00:00
font loading options, optimize css
This commit is contained in:
parent
e82ba97a39
commit
c0278a8c65
8 changed files with 261 additions and 38 deletions
quartz
|
@ -11,6 +11,7 @@ import { intro, isCancel, outro, select, text } from "@clack/prompts"
|
|||
import { rimraf } from "rimraf"
|
||||
import prettyBytes from "pretty-bytes"
|
||||
import { spawnSync } from "child_process"
|
||||
import { transform } from "lightningcss"
|
||||
|
||||
const UPSTREAM_NAME = "upstream"
|
||||
const QUARTZ_SOURCE_BRANCH = "v4-alpha"
|
||||
|
@ -302,6 +303,7 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
|
|||
plugins: [
|
||||
sassPlugin({
|
||||
type: "css-text",
|
||||
cssImports: true,
|
||||
}),
|
||||
{
|
||||
name: "inline-script-loader",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue