Skip to content

Manual pasting files into assets folder needed for build rendering #28

Answered by mbostock
gganapat asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use FileAttachment("./data/coolprop.wasm").href to resolve the path to the coolprop.wasm after the site is built. I’m not sure how to tell coolprop.js where to find the coolprop.wasm file, but it won’t work if assumes that the file is called coolprop.wasm (because when assets are built into the static site, content hashes are applied for better caching).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gganapat
Comment options

Answer selected by mbostock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #25 on August 01, 2025 16:18.