-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLeptos.toml
More file actions
64 lines (48 loc) · 2.1 KB
/
Leptos.toml
File metadata and controls
64 lines (48 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle.
output-name = "zipurl"
# The site root folder is where cargo-leptos generate all output. WARNING: all content of this folder will be erased on a rebuild. Use it in your server setup.
site-root = "target/site"
# The site-root relative folder where all compiled output (JS, WASM and CSS) is written
# Defaults to pkg
site-pkg-dir = "pkg"
# Tailwind CSS v4 configuration (built-in support in cargo-leptos)
tailwind-input-file = "crates/zipurl-app/style/tailwind.css"
# Assets source dir. All files found here will be copied and synchronized to site-root
# The assets-dir cannot have a sub directory with the same name/path as site-pkg-dir
# Optional. Env: LEPTOS_ASSETS_DIR
assets-dir = "public"
# The IP and port where the server will serve the content. Use it in your server setup.
site-addr = "127.0.0.1:1337"
# The port to use for automatic reload monitoring
reload-port = 1338
# [Optional] Command to use when running end2end tests. It will run in the end2end dir.
# Defaults to 'npx playwright test'
end2end-cmd = "npx playwright test"
# The browserlist query for lightning css
browserquery = "defaults"
# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included
watch = false
# The environment Leptos will run in, usually either "DEV" or "PROD"
env = "DEV"
# The features to use when compiling the bin target
#
# Optional. Can be over-ridden with the command line parameter --bin-features
bin-features = ["ssr"]
bin-default-features = false
# The features to use when compiling the lib target
#
# Optional. Can be over-ridden with the command line parameter --lib-features
lib-features = ["hydrate"]
lib-default-features = false
# The profile to use for the lib target when compiling for release
#
# Optional. Defaults to "release".
lib-profile-release = "wasm-release"
# The target to use for the lib
#
# Optional. Defaults to "wasm32-unknown-unknown".
lib-target = "wasm32-unknown-unknown"
# The package for the lib target
lib-package = "zipurl-app"
# The dir for the lib/wasm bundle
lib-dir = "crates/zipurl-app"