This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
custom_asset_reader.rs:
//! Implements a custom asset io loader.
//! An [`AssetReader`] is what the asset server uses to read the raw bytes of assets.
//! It does not know anything about the asset formats, only how to talk to the underlying storage.
use ;
use Path;
/// A custom asset reader implementation that wraps a given asset reader implementation
;
/// A plugins that registers our new asset reader
;