omegaupload/Trunk.toml

13 lines
251 B
TOML
Raw Normal View History

2021-10-23 10:10:55 -07:00
[build]
target = "web/index.html"
release = true
[[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"]