fix(commons): not importable due to wrong meta

This commit is contained in:
Elian Doran 2025-05-27 23:49:33 +03:00
parent 8578aa26c1
commit c4e10b6eba
No known key found for this signature in database

View File

@ -4,16 +4,16 @@
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.", "description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/main.js",
"module": "./dist/index.js", "module": "./dist/main.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"exports": { "exports": {
"./package.json": "./package.json", "./package.json": "./package.json",
".": { ".": {
"development": "./src/index.ts", "development": "./src/index.ts",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"import": "./dist/index.js", "import": "./dist/main.js",
"default": "./dist/index.js" "default": "./dist/main.js"
} }
}, },
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",