9 lines
774 B
JavaScript
9 lines
774 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$assets$detections$parsers$detectWebp = function(global, require, module, exports) {
|
|
global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
|
|
var testImageFormat = require("module$node_modules$pixi_DOT_js$lib$assets$detections$utils$testImageFormat");
|
|
"use strict";
|
|
exports.detectWebp = {extension:{type:global.ExtensionType.DetectionParser, priority:0}, test:async() => testImageFormat.testImageFormat("data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA\x3d"), add:async formats => [...formats, "webp"], remove:async formats => formats.filter(f => "webp" !== f)};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$assets$detections$parsers$detectWebp.js.map
|