A way to name the .wasm #3465
-
SummaryIs there a way to name the .wasm file? I noticed it takes the name of the input .wasm file and appends _bg to the name. I'd wondering if I could explicitly dictate what name it should give exactly. Simply changing the file name wont work as the corresponding .js file created relies on the _bg name. |
Beta Was this translation helpful? Give feedback.
Answered by
Liamolucko
Jun 6, 2023
Replies: 1 comment
-
You can't specify the exact name, but you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
daxpedda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't specify the exact name, but you can use
--out-name
to choose the bit before the_bg
. For example, if you specified--out-name foo
, the output files would be namedfoo.js
andfoo_bg.wasm
.