Adding rspack_plugin_remove_empty_chunks
library as a dependency
Run this command in a terminal, in your project's directory:
cargo add rspack_plugin_remove_empty_chunks
To add it manually, edit your project's Cargo.toml
file and add to the [dependencies]
section:
rspack_plugin_remove_empty_chunks = "0.2.0"
The rspack_plugin_remove_empty_chunks
library will be automatically available globally.