Skip to content

Commit

Permalink
fix: add package.json to exports (quantizor#445)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Jacobs <[email protected]>
  • Loading branch information
ilia-kurganskii and quantizor committed Feb 2, 2023
1 parent cb1dee5 commit ceebf8e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@
"README.md"
],
"exports": {
"import": "./dist/index.modern.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"./package.json": "./package.json",
".": {
"import": "./dist/index.modern.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "dist/index.js",
"module": "dist/index.module.js",
Expand Down

0 comments on commit ceebf8e

Please sign in to comment.