mirror of
https://github.com/smogon/sprites.git
synced 2026-04-26 08:03:23 -05:00
Revert "Now that we're TS, move back to commonjs for jest"
This reverts commit 8b6c858611.
This commit is contained in:
parent
32ba2af711
commit
3f60f61e00
|
|
@ -3,6 +3,8 @@ 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": "commonjs",
|
"module": "esnext",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user