Fix: prevent double ./cjs/ prefix in main field + fix imports

- Build script was adding ./cjs/ prefix even when main already had it
- Fixed @testing-library/react dependency for tests
- Changed package-style imports to relative imports in rootJs/index.ts
- Bump version to 0.85.5
This commit is contained in:
2026-01-18 07:15:18 +03:00
parent 4fbef2fcd2
commit 4539abb66e
5 changed files with 177 additions and 6 deletions
+8
View File
@@ -216,5 +216,13 @@
"dependencies": {
"jsdom": "^24.0.0",
"tslib": "^2.7.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"react": "^19.2.3",
"react-dom": "^19.2.3"
}
}