17 lines
No EOL
292 B
TOML
17 lines
No EOL
292 B
TOML
|
|
[build]
|
|
target = "web/index.html"
|
|
release = true
|
|
dist = "./dist"
|
|
|
|
[clean]
|
|
dist = "./dist"
|
|
|
|
[[proxy]]
|
|
backend = "http://localhost:8081"
|
|
rewrite = "/api/"
|
|
|
|
[[hooks]]
|
|
stage="post_build"
|
|
command="npx"
|
|
command_arguments=["swc", "$TRUNK_SOURCE_DIR/src/main.ts", "-o", "$TRUNK_STAGING_DIR/main.js"] |