🎥 Clip path rendering for Animated cursors

This commit is contained in:
KaizIqbal 2020-07-31 13:39:50 +05:30
parent dc8f9aa69c
commit fefc743998
2 changed files with 14 additions and 4 deletions

View file

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