flutter_web_hasher-0.2.0 is not a library.
flutter_web_hasher
Description
A tool that solves the browser caching problem of flutter web building products.
Install
Install this tool by cargo:
cargo install flutter_web_hasher
Usage
Run the command in the root directory of your flutter project:
flutter build web --release
flutter_web_hasher --skip index.html
The files in build/web
have been processed.
Add hash suffixes to flutter web products to resolve browser caching problem.
Usage: flutter_web_hasher [OPTIONS]
Options:
-d, --directory <DIRECTORY> Target directory [default: ./build/web]
-s, --skip <SKIP> Skip hash files. Stripped from `directory`. Not start with '/'. E.g., `index.html`
--round <ROUND> Hash round. Executing twice can achieve cascading updates [default: 2]
-h, --help Print help
-V, --version Print version
License
This project is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.