Function cargo_auto_lib::auto_delete_old_js_snippets
source ·
pub fn auto_delete_old_js_snippets()
Expand description
deletes old js snippets when working with wasm-pack
The old folders for js snippets
are not automatically deleted on building with wasm-pack
.
This utils do that.
The function must be executed in the root project folder where is the Cargo.toml.