trunk
trunk copied to clipboard
Watching static files triggers wasm-bindgen
When a static file (eg. a .scss file) a rust build is triggered. Ideally, it should only trigger a sass build.
This makes development a bit slower.
@emi2k01 this is part of a larger feature, namely asset hashing and hash comparison during the build phase. Currently, the most time consuming build stage by far is the cargo build itself. Fortunately cargo has its own caching system, which trunk transparently leverages. For other asset types, we will need to implement a mechanism where we hash assets and then store their hash, and then during the build step we compare hashes to determine if something needs to be built.
This would be a great feature (most other web bundlers have such features). I will open a new issues to discuss the design of this feature in a more general context and will link back to this one.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.