1
0
Fork 0
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:
Ben McCann 2024-01-30 17:59:00 -08:00 committed by GitHub
parent 87c38d1832
commit 4079e92bbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 19 deletions

View file

@ -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": {

View file

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "build/cjs",
"module": "commonjs",
"moduleResolution": "node",
"target": "es2022",
"lib": ["es2022"]
}
}