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