🔧 Configs updated

This commit is contained in:
KaizIqbal 2020-07-25 18:33:14 +05:30
parent 7a81d84872
commit 57c424e668
2 changed files with 6 additions and 4 deletions

View file

@ -1,13 +1,15 @@
import path from "path";
import { cursors } from "./cursors.json";
import { staticCursors } from "./cursors.json";
// Source Directory
const svgsDir = path.resolve(__dirname, "svg");
// Resolve Paths for svg
const svgs = cursors.map((svg: string) => path.resolve(svgsDir, svg));
const staticSvgs = staticCursors.map((svg: string) =>
path.resolve(svgsDir, svg)
);
// Out Directory
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
export { svgs, bitmapsDir };
export { staticSvgs, bitmapsDir };

View file

@ -1,5 +1,5 @@
{
"cursors": [
"staticCursors": [
"X_Cursor.svg",
"all_scroll.svg",
"bd_double_arrow.svg",