1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const graph_1 = require("../../graph");
|
4 | exports.imageExt = ['jpe?g', 'png', 'gif', 'bmp', 'webp'];
|
5 | const imageExtRegexp = new RegExp(`[^\/\\\\]\\.(?:${exports.imageExt.join('|')})$`, 'i');
|
6 | exports.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 |