IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/file_provider

You can read about the migration, and let us know what you think.

Extensions > API reference > file_provider

file_provider

An interface for rules that provide files.