🎥 Animated cursors configs

This commit is contained in:
KaizIqbal 2020-07-27 16:23:43 +05:30
parent 319812979c
commit 4431beb926

View file

@ -1,6 +1,6 @@
import path from "path"; import path from "path";
import fs from "fs"; import fs from "fs";
import { staticCursors } from "./cursors.json"; import { staticCursors, animatedCursors } from "./cursors.json";
// Source Directory // Source Directory
const svgsDir = path.resolve(__dirname, "svg"); const svgsDir = path.resolve(__dirname, "svg");
@ -14,4 +14,4 @@ const staticSvgs = staticCursors.map((svg: string) =>
const bitmapsDir = path.resolve(process.cwd(), "bitmaps"); const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
if (!fs.existsSync(bitmapsDir)) fs.mkdirSync(bitmapsDir); if (!fs.existsSync(bitmapsDir)) fs.mkdirSync(bitmapsDir);
export { staticSvgs, bitmapsDir }; export { staticSvgs, animatedCursors, bitmapsDir };