omegaupload/Trunk.toml

17 lines
292 B
TOML
Raw Normal View History

2021-10-23 10:10:55 -07:00
[build]
target = "web/index.html"
release = true
2021-10-26 23:51:05 -07:00
dist = "./dist"
[clean]
dist = "./dist"
2021-10-23 10:10:55 -07:00
[[proxy]]
backend = "http://localhost:8081"
rewrite = "/api/"
2021-10-24 02:25:42 -07:00
[[hooks]]
stage="post_build"
command="npx"
command_arguments=["swc", "$TRUNK_SOURCE_DIR/src/main.ts", "-o", "$TRUNK_STAGING_DIR/main.js"]