Skip to content

Commit

Permalink
feat: add export for node-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Karushev committed Dec 3, 2024
1 parent fd4b526 commit 7bfbad5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
"fmt_test": "test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0",
"watchtest": "CHROME_ONLY=1 karma start --no-single-run"
},
"exports": {
".": {
"require": "./dist/umd/comlink.js",
"import": "./dist/esm/comlink.mjs",
"types": "./dist/umd/comlink.d.ts"
},
"./node-adapter": {
"require": "./dist/umd/node-adapter.js",
"import": "./dist/esm/node-adapter.mjs",
"types": "./dist/umd/node-adapter.d.ts"
}
},
"author": {
"name": "Surma",
"email": "[email protected]"
Expand Down

0 comments on commit 7bfbad5

Please sign in to comment.