message: Fix: loadNoadTexture tried to load data-urls
diff: @@ -6,18 +6,6 @@ import type { LoadAsset, LoaderParser } from '@pixi/assets';
  const { loadImage } = canvasModule;
  const validImages = ['.jpg', '.png', '.jpeg', '.svg'];
  -const validMimes = ['image/png', 'image/jpg', 'image/jpeg', 'image/svg'];
  -
  -function isSupportedDataURL(url: string): boolean
  -{
  - const match = url.match(/^data:([^;]+);base64,/);
  -
  - if (!match) return false;
  -
  - const mimeType = match[1];
  -
  - return validMimes.includes(mimeType);
  -}
  /** loads our textures into a node canvas */
  export const loadNodeTexture = {
  @@ -25,7 +13,7 @@ export const loadNodeTexture = {
  test(url: string): boolean
  {
  - return validImages.includes(utils.path.extname(url).toLowerCase()) || isSupportedDataURL(url);
  + return validImages.includes(utils.path.extname(url).toLowerCase());
  },
  async load(url: string, asset: LoadAsset): Promise<Texture>
  