Replace 'wasm-pack' by 'trunk'
This commit is contained in:
parent
ec582ad68f
commit
08c4238dcb
14 changed files with 42 additions and 85 deletions
12
frontend/Trunk.toml
Normal file
12
frontend/Trunk.toml
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue