]> BookStack Code Mirror - bookstack/blob - dev/build/svg-blank-transform.js
Lexical: Added testing for some added shortcuts
[bookstack] / dev / build / svg-blank-transform.js
1 // This is a basic transformer stub to help jest handle SVG files.
2 // Essentially blanks them since we don't really need to involve them
3 // in our tests (yet).
4 module.exports = {
5     process() {
6         return {
7             code: 'module.exports = \'\';',
8         };
9     },
10     getCacheKey() {
11         // The output is always the same.
12         return 'svgTransform';
13     },
14 };