koute / cargo-web

A Cargo subcommand for the client-side Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prepend js generated by build.rs?

ColonelThirtyTwo opened this issue · comments

Is there a way to use the prepend-js config with JS emitted by build.rs in the out folder?

I could potentially use eval with include_str but that seems messy and probably has overhead...

Thinking about it more, something more useful would be the ability to add files in the OUT_DIR to the deploy command's output, so that you could use it with generated CSS, HTML, and other things too.