mirror of
https://github.com/iconify/iconify.git
synced 2025-01-08 15:54:09 +00:00
Fix tsconfig in utils
This commit is contained in:
parent
71e3aa8597
commit
96c7486f7c
@ -9,6 +9,7 @@ yarn.lock
|
|||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
.eslintrc.cjs
|
.eslintrc.cjs
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
tsconfig.common.json
|
||||||
jest.config.*
|
jest.config.*
|
||||||
jest.shared.config.cjs
|
jest.shared.config.cjs
|
||||||
vitest.config.*
|
vitest.config.*
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.common.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": ["node", "jest"],
|
"types": ["node", "jest"],
|
||||||
"rootDir": "."
|
"rootDir": ".",
|
||||||
|
"outDir": "../tests-compiled"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
13
packages/utils/tsconfig.common.json
Normal file
13
packages/utils/tsconfig.common.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2019",
|
||||||
|
"module": "ESNext",
|
||||||
|
"strict": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"importsNotUsedAsValues": "error",
|
||||||
|
"resolveJsonModule": true
|
||||||
|
}
|
||||||
|
}
|
@ -1,17 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "./tsconfig.common.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./",
|
"rootDir": "./src",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"target": "ES2019",
|
"lib": ["ESNext", "DOM"]
|
||||||
"module": "ESNext",
|
|
||||||
"lib": ["ESNext", "DOM"],
|
|
||||||
"strict": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"importsNotUsedAsValues": "error",
|
|
||||||
"resolveJsonModule": true
|
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts"]
|
"include": ["src/**/*.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user