Add support for esm in node.js

This commit is contained in:
Kento Moriwaki 2022-05-17 21:18:04 +09:00 committed by GitHub
parent a2b62b0a58
commit 43384e4148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/yjs.mjs",
"require": "./dist/yjs.cjs"
},