I think I found a simple solution for this after looking at the source code snipped that @Deltakosh posted.
I’ve also been having a similar issue with not being able to change BABYLON.Constants.PARTICLES_BaseAssetsUrl:
When just changing the url for BABYLON.ParticleSystemSet.BaseAssetsUrl instead it works just fine and loads the textures offline from the project folder.