mirror of
https://github.com/smogon/sprites.git
synced 2026-08-26 11:45:16 -05:00
make use of @smogon/sprite-root
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import fs from 'fs';
|
||||
import root from '@smogon/sprite-root';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
const libdir = path.join(__dirname, "../..");
|
||||
const libdir = path.join(root, "data");
|
||||
|
||||
export type SpecieEntry = {
|
||||
num: number,
|
||||
|
||||
@@ -2,5 +2,8 @@
|
||||
"extends": "../../tsconfig-base",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist"
|
||||
}
|
||||
},
|
||||
"references": [
|
||||
{"path": "../../lib/root"}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user