Basis runtime conversion best practices

Considering to implement basis with gltf.
what would be best practice for runtime implementation.
ie: load regular gltf with its original .jpg or .png textures and do the basis conversion and serving on the fly.

Thanks