apple_cursor/src/config.ts
2020-07-23 10:18:09 +05:30

11 lines
260 B
TypeScript

import path from "path";
import fs from "fs";
// Source Directory
const svgsDir = path.resolve(__dirname, "svg");
const svgs = fs.readdirSync(svgsDir);
// Out Directory
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
export { svgs, bitmapsDir };