UNPKG

485 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const graph_1 = require("../../graph");
4exports.imageExt = ['jpe?g', 'png', 'gif', 'bmp', 'webp'];
5const imageExtRegexp = new RegExp(`[^\/\\\\]\\.(?:${exports.imageExt.join('|')})$`, 'i');
6exports.createImagePlugin = () => {
7 return {
8 tasks: [],
9 specProvider: {
10 spec: graph_1.Specs.Image,
11 path: imageExtRegexp,
12 },
13 };
14};
15//# sourceMappingURL=index.js.map
\No newline at end of file