Open jayordway opened 1 year ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch idb@7.0.1 for the project I'm working on.
idb@7.0.1
Here is the diff that solved my problem:
diff --git a/node_modules/idb/package.json b/node_modules/idb/package.json index 22441fc..3c8b26d 100644 --- a/node_modules/idb/package.json +++ b/node_modules/idb/package.json @@ -2,7 +2,7 @@ "name": "idb", "version": "7.0.1", "description": "A small wrapper that makes IndexedDB usable", - "main": "./build/index.cjs", + "main": "./build/index.js", "module": "./build/index.js", "types": "./build/index.d.ts", "exports": {
This issue body was partially generated by patch-package.
Can you tell me a bit more about this error? My understanding is that "main" should point to the CommonJS version by default. I think this change would break other uses.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
idb@7.0.1
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.