ry-blocks/convert-svgs.js
2020-08-06 21:49:43 +02:00

7 lines
192 B
JavaScript

const path = require('path');
const svg2psreact = require("svg2psreact");
const assetsDir = path.join(__dirname, 'src', 'Assets');
svg2psreact.convertAllSVGsInDirectory("Assets", assetsDir)