mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-28 14:04:45 -04:00
🔥 Config clean
This commit is contained in:
parent
322028e1ea
commit
2e87551c91
1 changed files with 1 additions and 6 deletions
|
@ -5,13 +5,8 @@ import { staticCursors, animatedCursors, animatedClip } from "./cursors.json";
|
||||||
// Source Directory
|
// Source Directory
|
||||||
const svgsDir = path.resolve(__dirname, "svg");
|
const svgsDir = path.resolve(__dirname, "svg");
|
||||||
|
|
||||||
// Resolve Paths for svg
|
|
||||||
const staticSvgs = staticCursors.map((svg: string) =>
|
|
||||||
path.resolve(svgsDir, svg)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Out Directory
|
// Out Directory
|
||||||
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, animatedCursors, svgsDir, bitmapsDir, animatedClip };
|
export { staticCursors, animatedCursors, svgsDir, bitmapsDir, animatedClip };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue