cargo_auto_lib

Function 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.