🖼️ BitmapsGenerator init

This commit is contained in:
ful1e5 2021-02-19 20:04:20 +05:30
parent 4329aca7aa
commit 99dde92a8a
3 changed files with 90 additions and 2 deletions

View file

@ -1,5 +1,20 @@
import path from "path";
import { BitmapsGenerator, SVGHandler } from "bibata-core";
const root = path.resolve(__dirname, "../../../../");
const svgDir = path.resolve(root, "svg", "modern");
const main = async () => {
console.log("Bibata Modern");
const SVG = new SVGHandler.SvgDirectoryParser(svgDir);
SVG.getStatic().forEach((svg) => {
console.log(svg);
});
SVG.getAnimated().forEach((svg) => {
console.log(svg);
});
};
main();