Skip to content

Commit

Permalink
fix: adds ESM and CommonJS entry points, defined ts types locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanpv34 committed Jan 23, 2025
1 parent b9a99e1 commit c482e29
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"name": "ez-web-worker",
"version": "1.2.1",
"version": "1.2.2",
"description": "React hook for easy Web Worker integration",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/types/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"files": [
"dist"
],
Expand Down

0 comments on commit c482e29

Please sign in to comment.