Replace 'wasm-pack' by 'trunk'

This commit is contained in:
Greg Burri 2025-03-11 17:24:13 +01:00
parent ec582ad68f
commit 08c4238dcb
14 changed files with 42 additions and 85 deletions

12
frontend/Trunk.toml Normal file
View file

@ -0,0 +1,12 @@
[build]
dist = "../backend/static/wasm"
public_url = "/static"
filehash = false
minify = "on_release"
# Here we don't want the file 'index.html' in the final directory.
# Is there a way to not generate it at first?
[[hooks]]
stage = "post_build"
command = "rm"
command_arguments = ["../backend/static/wasm/.stage/index.html"]