mirror of
https://github.com/rowtype-yoga/ry-blocks.git
synced 2024-08-18 01:30:31 +03:00
7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
const path = require('path');
|
|
const svg2psreact = require("svg2psreact");
|
|
|
|
const assetsDir = path.join(__dirname, 'src', 'Yoga', 'Block', 'Icon', 'SVG');
|
|
|
|
svg2psreact.convertAllSVGsInDirectory("Yoga.Block.Icon.SVG", assetsDir)
|