mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
chore: drop CJS build from API (#6783)
This commit is contained in:
parent
87c38d1832
commit
4079e92bbf
2 changed files with 6 additions and 19 deletions
|
@ -2,20 +2,17 @@
|
||||||
"name": "@immich/sdk",
|
"name": "@immich/sdk",
|
||||||
"version": "1.92.1",
|
"version": "1.92.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
"main": "./build/cjs/index.js",
|
"main": "./build/esm/index.js",
|
||||||
"module": "./build/esm/index.js",
|
"types": "./build/types/index.d.ts",
|
||||||
"typings": "./build/types/index.d.ts",
|
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./build/esm/index.js",
|
"types": "./build/types/index.d.ts",
|
||||||
"require": "./build/cjs/index.js",
|
"default": "./build/esm/index.js"
|
||||||
"default": "./build/cjs/index.js",
|
|
||||||
"types": "./build/types/index.d.ts"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json"
|
"build": "tsc -b ./tsconfig.esm.json ./tsconfig.types.json"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "./tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "build/cjs",
|
|
||||||
"module": "commonjs",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"target": "es2022",
|
|
||||||
"lib": ["es2022"]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue