Skip to content

Commit

Permalink
fix: Reorder types paths in package.json for better import resolution (
Browse files Browse the repository at this point in the history
…#406)

Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
  • Loading branch information
shahyar and enisdenjo committed Sep 21, 2022
1 parent 9c7625b commit 37263c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -28,39 +28,39 @@
"node": ">=10"
},
"packageManager": "yarn@3.2.3",
"types": "lib/index.d.ts",
"main": "lib/index.js",
"module": "lib/index.mjs",
"browser": "umd/graphql-ws.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"browser": "./umd/graphql-ws.js"
},
"./lib/use/ws": {
"types": "./lib/use/ws.d.ts",
"require": "./lib/use/ws.js",
"import": "./lib/use/ws.mjs",
"types": "./lib/use/ws.d.ts"
"import": "./lib/use/ws.mjs"
},
"./lib/use/uWebSockets": {
"types": "./lib/use/uWebSockets.d.ts",
"require": "./lib/use/uWebSockets.js",
"import": "./lib/use/uWebSockets.mjs",
"types": "./lib/use/uWebSockets.d.ts"
"import": "./lib/use/uWebSockets.mjs"
},
"./lib/use/@fastify/websocket": {
"types": "./lib/use/@fastify/websocket.d.ts",
"require": "./lib/use/@fastify/websocket.js",
"import": "./lib/use/@fastify/websocket.mjs",
"types": "./lib/use/@fastify/websocket.d.ts"
"import": "./lib/use/@fastify/websocket.mjs"
},
"./lib/use/fastify-websocket": {
"types": "./lib/use/fastify-websocket.d.ts",
"require": "./lib/use/fastify-websocket.js",
"import": "./lib/use/fastify-websocket.mjs",
"types": "./lib/use/fastify-websocket.d.ts"
"import": "./lib/use/fastify-websocket.mjs"
},
"./package.json": "./package.json"
},
"types": "lib/index.d.ts",
"files": [
"lib",
"umd",
Expand Down

0 comments on commit 37263c5

Please sign in to comment.