mirror of
https://github.com/smogon/sprites.git
synced 2026-04-26 08:03:23 -05:00
Now that we're TS, move back to commonjs for jest
This commit is contained in:
parent
d011df227b
commit
8b6c858611
|
|
@ -3,8 +3,6 @@ import path from 'path';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
||||||
|
|
||||||
const libdir = path.join(__dirname, "../..");
|
const libdir = path.join(__dirname, "../..");
|
||||||
|
|
||||||
export type Type = {
|
export type Type = {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"target": "es2020",
|
"target": "es2020",
|
||||||
"lib": ["es2020"],
|
"lib": ["es2020"],
|
||||||
"module": "esnext",
|
"module": "commonjs",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user