@esotericsoftware/spine-phaser-v3 4.2.94 → 4.2.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14978,7 +14978,9 @@ void main () {
14978
14978
  textures.push(line);
14979
14979
  }
14980
14980
  }
14981
- let basePath = (file.src.match(/^.*\//) ?? "").toString();
14981
+ let fileUrl = file.url;
14982
+ if (typeof fileUrl === "object") fileUrl = file.src;
14983
+ let basePath = (fileUrl.match(/^.*\//) ?? "").toString();
14982
14984
  if (this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
14983
14985
  basePath = basePath.slice(this.loader.path.length);
14984
14986
  for (var i = 0; i < textures.length; i++) {