fixed package.json - Allow import paths y-websocket/bin/utils, y-websocket/bin/callback

This commit is contained in:
Cliff Zhang 2021-10-14 11:54:41 -04:00
parent caa6304ba3
commit 628804a406

View File

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