Merge pull request #84 from realcliffzhang/package-json-exports-fix

📦 package.json - Allow import paths y-websocket/bin/utils, y-websocket/bin/callback
This commit is contained in:
Kevin Jahns 2021-11-20 15:26:20 +01:00 committed by GitHub
commit c4db346b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,8 @@
],
"exports": {
"./package.json": "./package.json",
"./bin/utils": "./bin/utils.js",
"./bin/callback": "./bin/callback.js",
".": {
"import": "./src/y-websocket.js",
"require": "./dist/y-websocket.cjs"