wip typst x vite
This commit is contained in:
30
mise.toml
30
mise.toml
@@ -1,24 +1,16 @@
|
||||
[tools]
|
||||
node = "latest"
|
||||
tinymist = "0.15.0"
|
||||
typst = "0.15.0"
|
||||
watchexec = "latest"
|
||||
|
||||
[tasks.watch-bundle]
|
||||
run = "typst watch main.typ site --format bundle --features bundle,html --port 3000"
|
||||
[tasks.dev]
|
||||
run = [
|
||||
"typst watch main.typ bundle --format bundle --features bundle,html --no-serve & vite dev",
|
||||
]
|
||||
|
||||
[tasks.watch-html]
|
||||
run = "typst watch main.typ main.html --format html --features bundle,html --port 3080"
|
||||
|
||||
[tasks.watch-pdf]
|
||||
run = "typst watch main.typ main.pdf --format pdf --features bundle,html"
|
||||
|
||||
[tasks.bundle]
|
||||
run = "typst compile main.typ site --format bundle --features bundle,html"
|
||||
|
||||
[tasks.html]
|
||||
run = "typst compile main.typ main.html --format html --features bundle,html"
|
||||
|
||||
[tasks.pdf]
|
||||
run = "typst compile main.typ main.pdf --format pdf --features bundle,html"
|
||||
|
||||
[tasks.all]
|
||||
depends = ["pdf", "html", "bundle"]
|
||||
[tasks.build]
|
||||
run = [
|
||||
"typst compile main.typ node_modules/.typst-bundle --format bundle --features bundle,html",
|
||||
"vite build",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user