import sources from scattered branches
This commit is contained in:
21
mise.toml
21
mise.toml
@@ -4,13 +4,20 @@ tinymist = "0.15.0"
|
||||
typst = "0.15.0"
|
||||
watchexec = "latest"
|
||||
|
||||
[tasks.dev]
|
||||
run = [
|
||||
"typst watch main.typ bundle --format bundle --features bundle,html --no-serve & vite dev",
|
||||
]
|
||||
|
||||
[tasks.build]
|
||||
run = [
|
||||
"typst compile main.typ node_modules/.typst-bundle --format bundle --features bundle,html",
|
||||
"vite build",
|
||||
"rm .typ-bundle/*",
|
||||
"typst compile main.typ .typ-bundle --format bundle --features bundle,html",
|
||||
"npx vite build",
|
||||
]
|
||||
sources = ["!dist", "!node_modules", "!.idea", "**/*.typ", "src/**/*"]
|
||||
|
||||
[tasks.dev-vite]
|
||||
run = "npx vite dev"
|
||||
|
||||
[tasks.dev-typ]
|
||||
run = "typst watch main.typ .typ-bundle --format bundle --features bundle,html --no-serve"
|
||||
|
||||
|
||||
[tasks.dev]
|
||||
depends = ["dev-vite", "dev-typ"]
|
||||
Reference in New Issue
Block a user