mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 14:41:59 +00:00
chore: simplify API build (#6841)
This commit is contained in:
parent
606147be43
commit
a8dcfe4bd2
4 changed files with 11 additions and 25 deletions
|
@ -3,16 +3,16 @@
|
|||
"version": "1.92.1",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"main": "./build/esm/index.js",
|
||||
"types": "./build/types/index.d.ts",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./build/types/index.d.ts",
|
||||
"default": "./build/esm/index.js"
|
||||
"types": "./build/index.d.ts",
|
||||
"default": "./build/index.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -b ./tsconfig.esm.json ./tsconfig.types.json"
|
||||
"build": "tsc -b ./tsconfig.json"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "build/esm",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "Bundler",
|
||||
"lib": ["esnext", "dom"]
|
||||
}
|
||||
}
|
|
@ -1,7 +1,11 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
"skipLibCheck": true,
|
||||
"declaration": true,
|
||||
"outDir": "build",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "Bundler",
|
||||
"lib": ["esnext"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "build/types",
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"lib": ["es2020"]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue